Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/iterange/range.ts>NumericRangeOptions

Numeric sequence lazy generator, TC39 proposal-iterator.range implementation
Latest
interface NumericRangeOptions
import { type NumericRangeOptions } from "https://deno.land/x/iterange@1.0.0/range.ts";

Type Parameters

T extends bigint | number

Properties

optional
step: T

The stepping interval.

optional
inclusive: boolean

Whether the upper bound is exclusive or not.