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