class

Cosmo::Intrinsic::Ranges::End

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

Returns the last number of the range

Constructors

new(interpreter : Interpreter, _self : RangeType, token : Token)
Source

Instance methods

arity

The amount of parameters this function will accept

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

Executes the function body, passing in args

Source