GitHub

DaffFilterRangePair

interface

import { DaffFilterRangePair } from '@daffodil/core'

An pair of options of the range filter. Specifies a pair of min and max values.

interface DaffFilterRangePair<T> {
  applied: true
  min: DaffFilterRangeOption<T>
  max: DaffFilterRangeOption<T>
}

Properties

applied
true

The range pair is always set to applied, because a filter range pair exists if it is applied and does not exist if it is not applied.

min
DaffFilterRangeOption

The minimum range option of the filter range pair.

max
DaffFilterRangeOption

The maximum range option of the filter range pair.