class

Cosmo::Intrinsic::Table::Empty

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

Returns whether or not the table has no key/value pairs

Constructors

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

Instance methods

arity

The amount of parameters this function will accept

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

Executes the function body, passing in args

Source