Package: effect
Module: SchemaAST
Narrows an AST to Boolean.
When to use
Use to identify the Boolean AST variant while inspecting, traversing, or
transforming schema definitions.
See
Boolean for the AST node type matched by this guardboolean for the singleton instance to use when constructing a boolean AST directlySignature
declare const isBoolean: (ast: AST) => ast is Boolean
Since v4.0.0