max_value

Function max_value 

Source
pub fn max_value(
    max: f64,
) -> impl Fn(&str, &Value) -> Result<(), String> + Send + Sync + Clone
Expand description

Validator: number must not exceed maximum