Type alias ThresholdDateArrayGenerator<Value>

ThresholdDateArrayGenerator<Value>: ((values, min, max) => Value[])

Type Parameters

  • Value extends Date | undefined

Type declaration

    • (values, min, max): Value[]
    • Type definition for threshold generator which returns an array of recommended dates thresholds

      Parameters

      • values: ArrayLike<Value>
      • min: Date
      • max: Date

      Returns Value[]