effect-io-ai

Package: effect
Module: Filter

Filter.try

Creates a Filter that tries to apply a function and returns fail on error.

Signature

declare const try: <Input, Output>(f: (input: Input) => Output) => Filter<Input, Output>

Source

Since v4.0.0