Cogitek RIATest 3 Documentation Copyright © Cogitek Inc.

Boolean Object

Boolean represents a logical entity and consists of exactly two unique values. One is called true and the other is called false.

Methods

MethodDescription

Boolean

new Boolean([value])
Create new Boolean value

toString

toString()
If this boolean value is true, then the string "true" is returned otherwise the string "false" is returned.

Found a typo? Have a suggestion? Please submit your request here.