Creates a pipe that yields a sequence of numbers within a range.
Generates numbers in ascending order if start < end, or descending order if start > end. Returns an empty sequence if start === end.
start
end
The starting value (inclusive)
The ending value (exclusive)
A pipe yielding numbers from start to end
Creates a pipe that yields a sequence of numbers within a range.
Generates numbers in ascending order if
start<end, or descending order ifstart>end. Returns an empty sequence ifstart===end.