ConstSchema
Defined in: src/schema/index.ts:61
Constant pattern element: an ordered ALTERNATION of exact values — the first member that matches wins (usually a single value; e.g. constVal(“true”, “false”) for one boolean-keyword node).
Extends
Section titled “Extends”Schema<"const">
Type Parameters
Section titled “Type Parameters”TValues
Section titled “TValues”TValues extends readonly string[] = readonly string[]
Properties
Section titled “Properties”
readonlykind:"const"
Defined in: src/schema/index.ts:39
Inherited from
Section titled “Inherited from”Schema.kind
values
Section titled “values”
readonlyvalues:TValues
Defined in: src/schema/index.ts:64