last

Array
since 0.1.0

Arguments

  • Array The array to query.

Returns

* the last element of `array`.

Gets the last element of array.

Example of Lodash _.last

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