Player APIs (BrightScript & Ja...
...
Object Reference
BrightScript Core Objects

roBoolean

3min
this is the object equivalent of 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