Skip to main content

is_outside

Function is_outside 

Source
pub fn is_outside(
    field: &str,
    n: f64,
    start: f64,
    end: f64,
    inclusive: bool,
    custom: Option<&str>,
) -> Result<(), ValidationException>
Expand description

Requires n outside [start, end]; inclusive widens the rejected interval to include the bounds.