pub fn in_range<T: PartialOrd>(num: T, lower_bound: T, upper_bound: T) -> bool
Expand description
Returns whether a value is within the range of the two given values
pub fn in_range<T: PartialOrd>(num: T, lower_bound: T, upper_bound: T) -> bool
Returns whether a value is within the range of the two given values