v2026.2.1
All Bundles

FuncRef

Holds a function of in/out type R

Operations

Get

Gets function

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

Return

TypeDescription
()~Rfunction

New

Constructor

New(func:()~R)

Parameters

NameTypeDescription
func()~Rfunction

Set

Sets function

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

Parameters

NameTypeDescription
func()~Rfunction