bigIntRange
bigIntRange(
start,stop,step?):IterableIterator<bigint>
Defined in: packages/core/src/iterable/big-int-range.ts:19
Yields the arithmetic progression from start towards stop, exclusive,
over bigint.
The bigint sibling of range, which TC39’s Iterator.range also covers.
Values are accumulated rather than index-scaled, because bigint arithmetic
is exact and has nothing to drift.
Time complexity: O(1) per value.
Parameters
Section titled “Parameters”bigint
The first value, inclusive.
bigint
The bound to stop before, exclusive.
bigint = 1n
How much to advance by. Must be non-zero; a negative value counts down.
Returns
Section titled “Returns”IterableIterator<bigint>
An iterator over the progression. Empty when stop is already on
the far side of start.
Throws
Section titled “Throws”If step is zero.