isInRange#
- pyCGM2.Utils.utils.isInRange(val: float, min: float, max: float)#
Check if a value is within a specified range.
- Parameters:
val (float) – The value to check.
min (float) – The minimum value of the range.
max (float) – The maximum value of the range.
- Returns:
bool – True if val is within the range, False otherwise.