Rest function

Fully qualified name: Std.Arrays.Rest

function Rest<'T>(array : 'T[]) : 'T[]

Summary

Creates an array that is equal to an input array except that the first array element is dropped.

Type Parameters

'T

The type of the array elements.

Input

array

An array whose second to last elements are to form the output array.

Output

An array containing the elements array[1..Length(array) - 1].