GitHub

DaffFilterRangePair

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<T>

The minimum range option of the filter range pair.

max
DaffFilterRangeOption<T>

The maximum range option of the filter range pair.