v2026.4.1
All Bundles

Base

Base class for all objects

Operations

GetClass

Returns the class associated with this instance

method : public : GetClass() ~ Introspection.Class

Return

TypeDescription
Introspection.Classassociated with this instance

GetClassID

Returns the unique class ID

method : public : GetClassID() ~ Int

Return

TypeDescription
Intunique class ID

GetInstanceID

Returns the unique instance ID

method : public : GetInstanceID() ~ Int

Return

TypeDescription
Intunique instance ID

New

Default constructor

New()

Otherwise

Compiler intrinsic: returns the receiver if non-Nil, otherwise returns the default value.

method : public : Otherwise(default:Base) ~ Base

Parameters

NameTypeDescription
defaultBasedefault value to return if receiver is Nil

Return

TypeDescription
Basereceiver if non-Nil, otherwise default

Try

Compiler intrinsic: wraps subsequent chain calls in error recovery. Returns Nil if the following method call raises an error.

method : public : Try() ~ Base

Return

TypeDescription
Baseresult of the following method call, or Nil on error