Function lightspeed_core::service::validator::order::validate_le
source · pub fn validate_le<N: PartialOrd + Display, S: Into<String>>(
error_details: &mut ErrorDetails<'_>,
field_name: S,
max: N,
val: N
)
Expand description
Validates whether the value is less than or equal to max