A (half-open) range bounded inclusively below and exclusively above (start..end).
The range contains all values with start <= x < end. It is empty if start >= end.
A range only bounded inclusively below (start..).
Contains all values with x >= start.
Note: This will not overflow, the last value yielded will be the largest possible int _intMaxValue.
A range only bounded exclusively above (..end).
The RangeTo ..end contains all values with x < end.
It cannot be used as an Iterable because it doesn’t have a starting point.
A range only bounded inclusively above (..=end).
The RangeToInclusive ..=end contains all values with x <= end.
It cannot serve as an Iterable because it doesn’t have a starting point.
A generator over a range by a step size.
If end is not provided, the generated range will be [0..startOrEnd) if startOrEnd > 0, and
nothing is generated otherwise.
If step is not provided, step will be -1 if 0 > startOrEnd and 1 if 0 < startOrEnd.
For reference, it works the same as the python range function.