Skip to main content

kyberlib_max

Macro kyberlib_max 

Source
macro_rules! kyberlib_max {
    ($x:expr $(, $xs:expr)*) => { ... };
}
Expand description

Returns the maximum of the given values.

ยงExamples

use kyberlib::kyberlib_max;
let max = kyberlib_max!(1, 2, 3);
assert_eq!(max, 3);