Evaluates whether the given value is between the minimum and the maximum (both inclusive).

  • Parameters

    • value: number

      number to compare

    • min: number

      min value

    • max: number

      max value

    Returns boolean

    true if the number is between the min and the max, false instead