class

Cosmo::Intrinsic::Vector::Push

Inherits Cosmo::Intrinsic::IFunction / Cosmo::Callable / Reference / Object

Constructors

new(interpreter : Interpreter, _self : Array(ValueType), token : Token)
Source

Instance methods

arity

The amount of parameters this function will accept

Source
call(args : Array(ValueType)) : Array(ValueType)

Executes the function body, passing in args

Source