effect-io-ai

Package: effect
Module: Schema

Schema.FilterOutput

The value a filter predicate (see makeFilter) may return.

Details

Each shape is normalized into an SchemaIssue.Issue (or undefined for success) before being attached to the parse result:

Signature

type FilterOutput = | undefined
  | boolean
  | FilterIssue
  | ReadonlyArray<FilterIssue>

Source

Since v3.10.0