v2026.5.3
All Bundles
Bundle Core runtime library providing primitive types (Bool, Byte, Char, Int, Float, String), base collections, and system utilities. Every Objeck program links against this bundle automatically via lang.obl.

BoolRef

Holds a boolean value

Operations

Clone #

Clones the object instance

method : public : Clone() ~ System.BoolRef

Return

TypeDescription
BoolRefcloned the object instance

Compare # native

Compares two objects

method : public : native : Compare(rhs:System.Compare) ~ Int

Parameters

NameTypeDescription
rhsComparecompare object

Return

TypeDescription
Int0 if equal, -1 if types differ, 1 if equal

FromArray # function

Creates an array of references from primitives

function : FromArray(input:Bool[]) ~ BoolRef[]

Parameters

NameTypeDescription
inputBoolarray of primitives

Return

TypeDescription
BoolRefan array of references

Get #

Get boolean value

method : public : Get() ~ Bool

Return

TypeDescription
Boolboolean value

HashID #

Returns a unique hash ID for a boolean

method : public : HashID() ~ Int

Return

TypeDescription
Inthash ID

New # constructor

Default constructor

New()

New # constructor

Copy constructor

New(value:Bool)

Parameters

NameTypeDescription
valueBoolboolean value

Set #

Set boolean value

method : public : Set(value:Bool) ~ Nil

Parameters

NameTypeDescription
valueBoolboolean value

ToArray # function

Creates an array of primitives from references

function : ToArray(input:BoolRef[]) ~ Bool[]

Parameters

NameTypeDescription
inputBoolRefarray of references

Return

TypeDescription
Boolan array of primitives