Package: effect
Module: SchemaAST
Narrows an AST to Symbol.
When to use
Use to narrow an AST node before handling the Symbol variant for schemas
that accept any JavaScript symbol value.
See
isUniqueSymbol for the sibling guard that narrows the UniqueSymbol variant for one exact symbol valueSignature
declare const isSymbol: (ast: AST) => ast is Symbol
Since v4.0.0