(ast: AST): ast is UniqueSymbolNarrows an AST to UniqueSymbol.
Source effect/SchemaAST.ts:3021 lines
export const const isUniqueSymbol: (
ast: AST
) => ast is UniqueSymbol
Narrows an
AST
to
UniqueSymbol
.
isUniqueSymbol = function makeGuard<T extends AST["_tag"]>(
tag: T
): (ast: AST) => ast is Extract<AST, { _tag: T }>
makeGuard("UniqueSymbol")