An array
A predicate function.
Optional
thisArg: anyIf provided, it will be used as the this value for each invocation of predicate. If it is not provided, the last element is returned.
The last item that matches the predicate, or None
if no item matches.
last
finds the last item that matches a predicate. Returns the last item of array if no predicate is provided.