Returns the last element, or null if the list is empty.
null
Returns the last element matching the given predicate, or null if no such element was found.