Valid digits (0 to 9).
0
9
The idea with this type is to use it to construct others based on it, like for example Digit2 for 00 to 99.
Digit2
00
99
const numbers: Iterable<Digit> = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9]; Copy
const numbers: Iterable<Digit> = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9];
Enumerate
Valid digits (
0
to9
).Remarks
The idea with this type is to use it to construct others based on it, like for example
Digit2
for00
to99
.Example
See
Enumerate