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.

FuncRef

Holds a function of in/out type R

Operations

Get #

Gets function

method : public : Get() ~ ()~R

Return

TypeDescription
()~Rfunction

New # constructor

Constructor

New(func:()~R)

Parameters

NameTypeDescription
func()~Rfunction

Set #

Sets function

method : public : Set(func:()~R) ~ Nil

Parameters

NameTypeDescription
func()~Rfunction