last
Returns the last element.
Throws
if the collection is empty.
Returns the last element matching the given predicate.
Throws
if no such element is found.
Returns the last element.
if the collection is empty.
Returns the last element matching the given predicate.
if no such element is found.