effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.symbol

Provides the singleton Symbol AST instance.

When to use

Use to reuse the singleton AST node for schemas that match any JavaScript symbol value.

Gotchas

String-based codecs can encode only symbols registered with Symbol.for, because the implementation uses Symbol.keyFor.

See

Signature

declare const symbol: Symbol

Source

Since v4.0.0