Description

Get all but the first element of `array`.

Syntax

tail(array)

Parameters

Input ParameterTypeDescription
arrayArrayThe array to query

Return value

Type
Array<any>

Sample

ExampleResultDescription
tail([1, 2, 3])[2, 3]Returns the array excluding the first value

To view all the List functions, click here.

See Also