Skip to content

RangeMapBuilder🔗

Constructor🔗

new RangeMapBuilder()

Methods🔗

build🔗

Builds the object.

build()

options🔗

Range to match against and the result to apply when the value is within the range

options(options: {
    // Min value of the range. It can be null which means -Infinity
    from: number | null;
    // Max value of the range. It can be null which means +Infinity
    to: number | null;
    // Config to apply when the value is within the range
    result: dashboard.ValueMappingResult;
})

See also🔗