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