import { range } from "https://deno.land/x/proc@0.20.9/src/utility.ts";
Lazily produce a range of numbers.
There are two forms:
- from/to/step: default 0 based,
to
is exclusive, and - from/until/step: default 1 based,
until
is inclusive.
Returns
Enumerable<number>