Skip to main content

max_array

Function max_array 

Source
pub fn max_array(values: &[Number]) -> Result<Number, Error>
Expand description

PHP max($array) for an array of numbers (zend_hash_minmax, which compares differently from the variadic form when a NaN is involved).