Validates if a number is within a positive range.
The number to validate.
Optional
The minimum range allowed. Default is 0.
The maximum range allowed. Default is Number.MAX_VALUE.
Validates if a number is within a positive range.
Throws