effect-io-ai

Package: effect
Module: SchemaAST

SchemaAST.isString

Narrows an AST to String.

When to use

Use to detect schema AST nodes that match any string value while inspecting or transforming a Schema AST.

See

Signature

declare const isString: (ast: AST) => ast is String

Source

Since v4.0.0