Effect equivalent to fp-ts's `O.fromPredicate`?

Hey all, is there an effect equivalent to fp-ts’s O.fromPredicate?
Was this page helpful?