unary function that returns true for some element
the input range to search
which index from the end to start searching from
some!size_t or none if no element was found
import optional: some, none; assert([1, 2, 3, 4].lastIndexWhere!(a => a % 2 == 0) == some(3)); assert([1, 2, 3, 4].lastIndexWhere!(a => a == 5) == none); assert([1, 2, 3, 4].lastIndexWhere!(a => a % 2 == 0)(2) == some(1));
0.0.1
Returns optional index of the last element predicate returns true for.