effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.resolveAt

Returns a single annotation value by key from the AST node.

Details

Like resolve, reads from the last check’s annotations when checks are present. Returns undefined if the key is not found.

See

Signature

declare const resolveAt: <A>(key: string) => (ast: AST) => A | undefined

Source

Since v4.0.0