a and b and returns
the greater of the two values.
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
a and b and returns
the greater of the two values.
pub fn max, +Drop, +Copy>(a: T, b: T) -> T
use core::cmp::max;
assert!(max(0, 1) == 1);
Was this page helpful?