effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.isNull

Narrows an AST to Null.

When to use

Use to recognize an AST node that represents exactly the null literal when inspecting, traversing, or transforming schema ASTs.

See

Signature

declare const isNull: (ast: AST) => ast is Null

Source

Since v4.0.0