effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.isUnknown

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

Signature

declare const isUnknown: (ast: AST) => ast is Unknown

Source

Since v4.0.0