Alias tail
Gets all but the first element of a range
alias tail
;
Parameters
Name | Description |
---|---|
range | an input range |
Returns
A range
Since
0.0.1
Example
assert((int[]) .init .tail .empty);
assert([1, 2, 3, 4] .tail .equal([2, 3, 4]));