Function js_sys::Math::min

source ยท
pub fn min(x: f64, y: f64) -> f64
Expand description

The static function Math.min() returns the lowest-valued number passed into it.

MDN documentation