The minimum (inclusive), a non-negative integer
Optionalmax: number
The maximum (inclusive), a non-negative integer not below min, or undefined for unbounded
The minimum.
The maximum, or undefined when unbounded.
Whether the minimum equals the maximum.
Whether there is no maximum.
StaticfromStaticexactlyStaticatStaticatStaticzero{0,}, as * reads.
Staticone{1,}, as + reads.
Staticzero{0,1}, as ? reads.
Whether count lies in the interval.
{n}, {n,m} or {n,}.
?, *, + where one applies, else the range notation.
The range notation.
An inclusive interval with a minimum and an optional maximum; without a maximum it is unbounded above.
Example