O.fromPredicate equivalent in Effect

I can't find O.fromPredicate in effect (https://effect.website/docs/other/data-types/option), what's the closest equivalent?
Was this page helpful?