← SchemaASTSchemaAST.isSymbolconsteffect/SchemaAST.ts:279(ast: AST): ast is SymbolNarrows 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.guardsASTSymbolisUniqueSymbolSource effect/SchemaAST.ts:2791 linesexport const const isSymbol: ( ast: AST ) => ast is SymbolNarrows 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.@seeisUniqueSymbol for the sibling guard that narrows the UniqueSymbol variant for one exact symbol value@categoryguards@since4.0.0isSymbol = function makeGuard<T extends AST["_tag"]>( tag: T ): (ast: AST) => ast is Extract<AST, { _tag: T }>makeGuard("Symbol")
SchemaAST.isSymbolconsteffect/SchemaAST.ts:279(ast: AST): ast is SymbolNarrows 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.guardsASTSymbolisUniqueSymbol