In our codebase, we're doing things like:
a |> Option.pure |> Option.reject(myPredicate)
This could be replaced with a |> Option.fromPredicate(myPredicate). Prior art from fp-ts.
a |> Option.fromPredicate(myPredicate)