_.tail(array)
Gets all but the first element of array
.
Since
4.0.0
Arguments
-
array
(Array): The array to query.
Returns
(Array): Returns the slice of array
.
Example
1 2 | _.tail([1, 2, 3]); // => [2, 3] |
_.tail(array)
Gets all but the first element of array
.
4.0.0
array
(Array): The array to query.(Array): Returns the slice of array
.
1 2 | _.tail([1, 2, 3]); // => [2, 3] |
Designed by : w10schools
service@w10schools.com
Please login to continue.