devela::_dep::js_sys::Math

Function min

Source
pub fn min(x: f64, y: f64) -> f64 
Available on crate feature dep_js_sys only.
Expand description

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

MDN documentation