import { Range } from "https://deno.land/x/aitertools@0.6.0/src/range.ts";
Iterates over the elements of the range.
import { range } from "./range.ts";
for (const value of range(4n)) console.log(value);
The above example will print the following 4 lines:
0
1
2
3