Skip to main content

is_between

Function is_between 

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

Requires n inside [start, end] (inclusive) or (start, end) (exclusive).