findM package:vector

Yield Just the first element that satisfies the monadic predicate or Nothing if no such element exists.