effect-io-ai

Package: effect
Module: Schema

Schema.resolveAnnotationsKey

Resolves the context (key-level) annotations from a schema. Context annotations are those attached via annotateKey and live on the AST’s context rather than on the schema node itself.

Signature

declare const resolveAnnotationsKey: <S extends Constraint>(schema: S) => Annotations.Key<S["Type"]> | undefined

Source

Since v4.0.0