Tuple Library
Stof's standard tuple library ("Tuple").
Tuples can be cast to vectors for more available operations.
Common Value Functions
Tuple.toString(tup: (.., ..)): str
Returns this tuple converted to a string.
Tuple.or(tup: (.., ..), ...): unknown
Returns the first non-empty (null or void) argument, just like the Standard Library "or" function.
Tuple Functions
Tuple.len(tup: (.., ..)): int
Get the number of values contained within this tuple.
Tuple.at(tup: (.., ..), index: int): unknown
Get the value in this tuple at a specific index.
Last updated