Package: effect
Module: SchemaAST
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
String for the AST node class narrowed by this guardstring for the singleton String AST instanceisLiteral for exact primitive literal AST nodes, including exact string literalsSignature
declare const isString: (ast: AST) => ast is String
Since v4.0.0