_.tail

Gets all but the first element of array.

Since

4.0.0

Arguments

  1. array (Array): The array to query.

Returns

(Array): Returns the slice of array.

Example

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