Returns an array of the values contained in the half-open interval [start, end), that is, including the start and excluding the end.
For Array
, List
, and Deque
, both terms may be numeric positive or negative
indicies.
For a List
, either term may be a node.
Replaces a length of values from a starting position with the given variadic values, and returns the values that were replaced as an array.
Replaces a length of values from a starting position with the given values.