Options to configure the modifier.

interface RangeModifierOptions {
    additive?: boolean;
    ranges: RangeModifierRangeOptions[];
    strict?: boolean;
    type: "Range";
}

Hierarchy (view full)

Properties

additive?: boolean

If set to true, multiple ranges will add up instead of reduce.

Value ranges to include in the result.

strict?: boolean

If set to true, it will also compare the value type.

type: "Range"

Name of the related modifier for these options.