Skip to main content
Represents booleans as objects. True/false. Variables of this type are commonly used in comparisons and conditional statements.

Constructors

Bool()

Default constructor.

Bool(Bool)

Pass a boolean value to copy into a new object.

Methods

toInteger()

Converts a boolean value to its integer representation (0 or 1).
Returns: CRMScript.Global.Integer - False equals 0; true equals 1.

toString()

Converts a boolean value to its string representation (“true” or “false”).
Returns: CRMScript.Global.String - “true” or “false” Example: