/
6.1-roBoolean

6.1-roBoolean

ON THIS PAGE


This is the object equivalent for the Boolean intrinsic type. It is useful in the following situations:

  • When an object is needed instead of an intrinsic value: For example, if a Boolean is added to roList, it will be automatically wrapped in an roBoolean object by the language interpreter. When a function that expects a BrightScript component as a parameter is passed a Boolean, BrightScript automatically creates the equivalent BrightScript component.
  • When an object exposes the ifBoolean interface: That object can then be used in any expression that expects an intrinsic value.

ifBoolean 

GetBoolean() As Boolean
SetBoolean(a As Boolean)

Related content

roBoolean
roBoolean
More like this
Objects and Interfaces
Objects and Interfaces
More like this
6.1-Objects and Interfaces
6.1-Objects and Interfaces
More like this
6.1-roInt, roFloat, roString
6.1-roInt, roFloat, roString
More like this
6.1-Variables, Literals, and Types
6.1-Variables, Literals, and Types
More like this
roInt, roFloat, roString
roInt, roFloat, roString
More like this