Range interface for specifying a range of data.

interface Range {
    from?: number;
    to?: number;
    unit?: "block" | "time";
}

Properties

Properties

from?: number

The starting point of the range.

to?: number

The ending point of the range.

unit?: "block" | "time"

The unit for specifying the range (block or time).