The shape the values are drawn from
The stated constraints and cardinality bounds
The shape the values are drawn from, possibly deferred to break definition cycles
Optionalconstraints: COptional member constraints and bounds
An immutable member admitting the stated number of values of range
Readonlykind: "property"Discriminator identifying this as a member carrying values.
Inheritance — cannot be overridden.
Readonlyrange: Range<R, { inferred L }, { inferred U }>Value set the property carries.
States the shape every value is drawn from and how many of them a resource may carry. A path resolved through the property yields a Range of the same form, so the range a property states and the one a path reaches are read alike.
Inheritance — child may only narrow the inherited range, bound by bound and shape by shape.
TypeError Where a bound is stated as a negative number, or the bounds cross, admitting no value at all
Creates a member carrying a stated number of values.
Reads the cardinality off the
minCountandmaxCountthe constraints state, for the bounds the four named factories leave uncovered; a bound left unstated leaves that end unbounded. The bounds are carried by the range of the built property alone, not restated beside its other constraints.