Monkey Documentation

Class BoolObject

The BoolObject box class can be used to encapsulate an bool value inside an object.


Fields:
Constructors:
Methods:

Field Documentation

Field value : Bool

The bool value contained in this BoolObject.


Constructor Documentation

Method New ()

Creates a new BoolObject that contains the value false.

Method New ( value:Bool )

Creates a new BoolObject with the given value.


Method Documentation

Method Equals : Bool ( box:BoolObject )

Returns 'true' if the value contained in the BoolObject equals the value contained in box.

Method ToBool : Bool ()

Returns the bool value contained in the BoolObject.