Merk
Tilgang til denne siden krever autorisasjon. Du kan prøve å logge på eller endre kataloger.
Tilgang til denne siden krever autorisasjon. Du kan prøve å endre kataloger.
Fully qualified name: Std.Arrays.MostAndTail
function MostAndTail<'A>(array : 'A[]) : ('A[], 'A)
Summary
Returns a tuple of all but one and the last element 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 all but one and the last element of the array.