Validates that a given number is within a specified range. This function throws an error if the value is outside the defined minimum and maximum bounds.
The number to validate.
The minimum allowable value (inclusive).
The maximum allowable value (inclusive).
Validates that a given number is within a specified range. This function throws an error if the value is outside the defined minimum and maximum bounds.