4.17.11
3.10.1
2.4.2
1.3.1
_.last(array)
Gets the last element of array
.
Since
0.1.0
Arguments
argument
array
type
Array
description
The array to query.
Returns
(array)
Example
_.last([1, 2, 3]);
// => 3
_.last([1, 2, 3]);
// => 3
Gets the last element of array
.
array
(array)
_.last([1, 2, 3]);
// => 3
_.last([1, 2, 3]);
// => 3