Skip to main content

check_positive

Function check_positive 

Source
pub fn check_positive(name: &'static str, value: f64) -> Result<()>
Expand description

Assert that a value is strictly positive, returning Err(Error::OutOfRange).