class Cosmo::Intrinsic::Vector::DeleteAt
Overview
Deletes the value at index i
, or i
+ offset
if one is provided.
Returns the given vector
Defined in:
cosmo/runtime/intrinsic/vector.crConstructors
Instance Method Summary
-
#arity : Range(UInt32, UInt32)
The amount of parameters this function will accept
-
#call(args : Array(ValueType)) : Array(ValueType)
uint i
: The index of the value to be deleteduint? offset
: The number added to the index
Instance methods inherited from class Cosmo::Intrinsic::IFunction
call(args : Array(ValueType)) : ValueType
call,
intrinsic? : Bool
intrinsic?,
to_s : String
to_s,
token(name : String) : Token
token
Constructor methods inherited from class Cosmo::Intrinsic::IFunction
new(interpreter : Interpreter)
new
Instance methods inherited from class Cosmo::Callable
arity : Range(UInt32, UInt32)
arity,
call(args : Array(ValueType)) : ValueType
call,
expand_args(args : Array(ValueType)) : Array(ValueType)
expand_args,
intrinsic? : Bool
intrinsic?,
to_s : String
to_s
Constructor Detail
Instance Method Detail
def arity : Range(UInt32, UInt32)
#
Description copied from class Cosmo::Callable
The amount of parameters this function will accept
uint i
: The index of the value to be deleted
uint? offset
: The number added to the index