IsInRange
Checks if the given number falls within the given range.
- Use
math.Min()
andmath.Max()
to determine the start and end of the range. - Use arithmetic comparison to check if the given number is in the specified range.
Checks if the given number falls within the given range.
math.Min()
and math.Max()
to determine the start and end of the range.