$ open source · GPL-3.0 — need a commercial license? imqueue.com →

NumericRange class

A range between two numbers, as an @imqueue/rpc type.

Signature:

export declare class NumericRange implements IRange 

Implements: IRange

Remarks

The numeric counterpart of DateRange, and used the same way: filter <column>Range and query.withRangeFilters rewrites it onto <column>.

Example

const filter = { priceRange: { start: 10, end: 100 } } as FilterInput;

Properties

Property

Modifiers

Type

Description

end

number

Upper bound of the range.

start

number

Lower bound of the range.