[][src]Function lightspeed_core::service::validator::boolean::validate_is_true

pub fn validate_is_true<S: Into<String>>(
    error_details: &mut ErrorDetails<'_>,
    field_name: S,
    val: bool
)

Validates whether the value is true