Checks if a number is between two values (exclusive)

  • Parameters

    • bounds: [number, number]

      Lower and upper bounds

    • n: number

      Number to check

    Returns boolean

    True if n is between low and high