Package: effect
Module: SchemaAST
Discriminated union of all AST node types.
Details
Every Schema has an .ast property of this type. Use the guard functions
(isString, isObjects, etc.) to narrow to a specific variant,
then access variant-specific fields.
Base fields: annotations, checks,
encoding, context._tag field (e.g. "String", "Objects", "Union").See
BaseisASTSignature
type AST = | Declaration
| Null
| Undefined
| Void
| Never
| Unknown
| Any
| String
| Number
| Boolean
| BigInt
| Symbol
| Literal
| UniqueSymbol
| ObjectKeyword
| Enum
| TemplateLiteral
| Arrays
| Objects
| Union
| Suspend
Since v3.10.0