effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.resolveIdentifier

Returns the identifier annotation from the AST node, if set.

Details

The identifier is typically set by Schema.annotations({ identifier: "..." }) and is used for error messages and schema identification.

See

Signature

declare const resolveIdentifier: (ast: AST) => string | undefined

Source

Since v4.0.0