effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.isAST

Returns true if the value is an AST node (any variant).

Details

Uses the internal TypeId brand to distinguish AST nodes from arbitrary objects.

See

Signature

declare const isAST: (u: unknown) => u is AST

Source

Since v4.0.0