Validates that a value is within specified bounds
Usage
is_in_range(x, min_val, max_val, inclusive = TRUE)
Arguments
- x
Value to check
- min_val
Minimum allowed value
- max_val
Maximum allowed value
- inclusive
Whether bounds are inclusive
Value
Logical indicating if value is within range