Function check_positive_i128

Source
pub fn check_positive_i128(value: i128, param: &str) -> Result<()>
Expand description

Checks the i64 value is positive (> 0).

ยงErrors

Returns an error if the validation check fails.