The Boolean Class

The Boolean class provides the ability to represent logical TRUE/FALSE values.

Member Objects

Table 1. Member Objects (Static Member Variables)
Name Description
TRUE Contains the value TRUE.
FALSE Contains the value FALSE.

Usage

With RTL classes, it is not possible to create and subclass objects. The new keyword is not supported.

Member Objects Usage

All expressions in the RTL expression language that contain relational operators return one of these objects, which are static member variables that do not require an object instance.

To specify TRUE or FALSE in a formula, the variables are prefixed with the 'Boolean' class name and the '.' character.

Example

Boolean.TRUE