Gets last element of an array.
last([1, 2]) // 2
last([1]) // 1
last([]) // undefined
source array
Generated using TypeDoc
Gets last element of an array.
Example
Example
Example
Returns