HeadAndRest function
Fully qualified name: Std.Arrays.HeadAndRest
function HeadAndRest<'A>(array : 'A[]) : ('A, 'A[])
Summary
Returns a tuple of first and all remaining elements of the array.
Type Parameters
'A
The type of the array elements.
Input
array
An array with at least one element.
Output
A tuple of first and all remaining elements of the array.