Holds a boolean value
Implements: Compare, Clone, Stringify, Primitive
OperationsDefault constructor
New()
Copy constructor
New(value:Bool)
Name | Type | Description |
---|---|---|
value | Bool | boolean value |
Clones the object instance
method : public : Clone() ~ System.BoolRef
Type | Description |
---|---|
BoolRef | cloned the object instance |
Compares two objects
method : public : native : Compare(rhs:System.Compare) ~ Int
Name | Type | Description |
---|---|---|
rhs | Compare | compare object |
Type | Description |
---|---|
Int | 0 if equal, -1 if types differ, 1 if equal |
Creates an array of references from primitives
function : FromArray(input:Bool[]) ~ BoolRef[]
Name | Type | Description |
---|---|---|
input | Bool[] | array of primitives |
Type | Description |
---|---|
BoolRef[] | an array of references |
Get boolean value
method : public : Get() ~ Bool
Type | Description |
---|---|
Bool | boolean value |
Returns a unique hash ID for a boolean
method : public : HashID() ~ Int
Type | Description |
---|---|
Int | hash ID |
Set boolean value
method : public : Set(value:Bool) ~ Nil
Name | Type | Description |
---|---|---|
value | Bool | boolean value |
Creates an array of primitives from references
function : ToArray(input:BoolRef[]) ~ Bool[]
Name | Type | Description |
---|---|---|
input | BoolRef[] | array of references |
Type | Description |
---|---|
Bool[] | an array of primitives |