Variables
Methods
inline pop ():Tuple<Null<T>, ReadonlyArray<T>>
Removes and returns the value at the end of the array. The original ReadonlyArray is unchanged.
reducei<X> (f:X ‑> T ‑> Int ‑> X, initial:X):X
It is the same as reduce
but with the extra integer index
parameter.
shift ():Tuple<Null<T>, ReadonlyArray<T>>
Removes and returns the value at the beginning of the array. The original ReadonlyArray is unchanged.