devela::_dep::js_sys::Math

Function max

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

The Math.max() function returns the largest of two numbers.

MDN documentation