Tail function

Fully qualified name: Std.Arrays.Tail

function Tail<'A>(array : 'A[]) : 'A

Summary

Returns the last element of the array.

Type Parameters

'A

The type of the array elements.

Input

array

Array of which the last element is taken. Array must have at least 1 element.

Output

The last element of the array.