Function in_range

Source
pub fn in_range<T: Ord>(val: T, min: T, max: T) -> bool
Expand description

Check if value is in range.