check_in_range_inclusive_u64

Function check_in_range_inclusive_u64 

Source
pub fn check_in_range_inclusive_u64(
    value: u64,
    l: u64,
    r: u64,
    param: &str,
) -> Result<()>
Expand description

Checks the u64 value is range [l, r] (inclusive).

ยงErrors

Returns an error if the validation check fails.