4.17.11
3.10.1
2.4.2
1.3.1

_.tail(array)

Gets all but the first element of array.

Since

4.0.0

Arguments

argument
array
type
Array
description
The array to query.

Returns

(array)

Example

_.tail([1, 2, 3]);
// => [2, 3]
_.tail([1, 2, 3]);
// => [2, 3]