[−][src]Function lightspeed_core::service::validator::order::validate_le
pub fn validate_le<N: PartialOrd + Display, S: Into<String>>(
error_details: &mut ErrorDetails,
field_name: S,
max: N,
val: N
)
Validates whether the value is less than or equal to max