Creates a union of non-negative integer literals from 0 up to (and including) N.
Equivalent to 0 | 1 | ... | N.
Requires N to be a non-negative integer literal.
Type Parameters
Nextendsnumber
The upper bound (inclusive). Must be a non-negative integer literal.
Creates a union of non-negative integer literals from 0 up to (and including)
N. Equivalent to0 | 1 | ... | N. RequiresNto be a non-negative integer literal.