Package: effect
Module: SchemaAST
Narrows an AST to Any.
When to use
Use when you need to inspect a schema AST and handle the Any node
variant specifically.
See
isUnknown for the guard for the Unknown node, whose parsed result is typed as unknown rather than anySignature
declare const isAny: (ast: AST) => ast is Any
Since v4.0.0