effect-io-ai

Package: effect
Module: Schema

Schema.makeFilterGroup

Groups multiple checks into a single SchemaAST.FilterGroup, applying optional shared annotations to the group as a whole.

Signature

declare const makeFilterGroup: <T>(checks: readonly [SchemaAST.Check<T>, ...Array<SchemaAST.Check<T>>], annotations?: Annotations.Filter | undefined) => SchemaAST.FilterGroup<T>

Source

Since v4.0.0