check_bounds()
Check if a value is within the given bounds.
Usage
check_bounds(
value,
low,
high,
)Parameters
value: float-
The value to check.
low: float-
The lower bound (inclusive).
high: float-
The upper bound (inclusive).
Returns
bool-
True if the value is within bounds.
Examples
>>> check_bounds(5.0, 0.0, 10.0)
True