Returns the last element from an iterable, or undefined if the iterable is empty.
The iterable to get the last element from
The last element in the iterable, or undefined if empty
Returns the last element from an iterable, or undefined if the iterable is empty.