tuple, whole number
Source: /avail/Avail/Foundation/Tuples
Categories: Tuples, Transformers
Split a aTuple into two tuples between pivot and pivot
+ 1
and answer a 2-tuple containing the results.
Position | Name | Type | Description | |
---|---|---|---|---|
Parameters | ||||
1 | aTuple | tuple | ||
2 | pivot | whole number | The index (inclusive) at which to split aTuple. | |
Returns | <tupleā¦|2> | A 2-tuple. The first tuple contains the first pivot elements of aTuple. The second tuple contains the remaining elements of aTuple. |