Package: effect
Module: SchemaAST
Narrows an AST to Literal.
When to use
Use to recognize exact string, number, boolean, or bigint literal AST nodes.
See
Literal for the AST node type narrowed by this guardLiteralValue for the values stored by literal nodesSignature
declare const isLiteral: (ast: AST) => ast is Literal
Since v3.10.0