Type alias ThresholdCountGenerator<Value>

ThresholdCountGenerator<Value>: ((values, min, max) => number)

Type Parameters

  • Value extends number | undefined = number | undefined

Type declaration

    • (values, min, max): number
    • Type definition for threshold generator which returns the count of recommended thresholds

      Parameters

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

      Returns number