A range of values.

interface Range {
    lower?: T;
    lowerOpen?: boolean;
    upper?: T;
    upperOpen?: boolean;
}

Type Parameters

  • T

Hierarchy

Properties

lower?: T

Lower bound of the range.

lowerOpen?: boolean

Whether the lower bound is open. Defaults to false.

upper?: T

Upper bound of the range.

upperOpen?: boolean

Whether the upper bound is open. Defaults to true.

Generated using TypeDoc