js_sys::Math

Function 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