script::script_runtime

Function in_range

Source
fn in_range<T: PartialOrd + Copy>(val: T, min: T, max: T) -> Option<T>