Package: effect
Module: Filter
Converts a Filter into a function that returns the underlying
Result.Result for each input.
When to use
Use to adapt a Filter to APIs that expect a plain function returning
Result, while preserving both the pass value and the failure value.
See
toOption for keeping only passed valuestoPredicate for plain boolean pass/fail checksSignature
declare const toResult: <A, Pass, Fail>(self: Filter<A, Pass, Fail>) => (input: A) => Result.Result<Pass, Fail>
Since v4.0.0