GitHub

DaffFilterRangePair

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

import { DaffFilterRangePair } from '@daffodil/core'
interface DaffFilterRangePair<T> {
  applied: true
  min: DaffFilterRangeOption<T>
  max: DaffFilterRangeOption<T>
}

Properties

Name Type Description
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.