effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.Checks

Non-empty array of validation Check values attached to an AST node via Base.checks.

Details

Checks are run after basic type matching succeeds. They represent refinements like minLength, pattern, int, etc.

See

Signature

type Checks = readonly [Check<any>, ...Array<Check<any>>]

Source

Since v4.0.0