pub fn u256_min(x: U256, y: U256) -> U256
Expand description
Returns the minimum of two U256
values.
ยงExamples
use primitive_types::U256;
use neo3::neo_types::u256_min;
let a = U256::from(1);
let b = U256::from(2);
assert_eq!(u256_min(a, b), U256::from(1));