Function validify::validate_in

source ·
pub fn validate_in<T: PartialEq>(haystack: &[T], needle: &T, not: bool) -> bool
Expand description

Validates whether or not a slice contains an element