itr8Range(from: number, to: number, step?: number): IterableIterator<number>
Utility function that produces an iterator producing numbers (not only integers)
starting and ending where you want, which is useful for trying out stuff
without manually having to create arrays.
'from' can be higher than 'to', in which case the iterator will count down
'step' is always a positive number (but we are forgiving if it's not)
Utility function that produces an iterator producing numbers (not only integers) starting and ending where you want, which is useful for trying out stuff without manually having to create arrays.
Example