Package: effect
Module: SchemaAST
Returns true if the AST node represents an optional property.
Details
Checks ast.context?.isOptional. Defaults to false when no
Context is set.
See
optionalKeyContextSignature
declare const isOptional: (ast: AST) => boolean
Since v4.0.0