class

Cosmo::Intrinsic::Vector::Combine

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

Returns a new vector with all current elements as well as the elements of other

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)

Vector other: The vector to append

Source