Function validator::validate_contains
[−]
[src]
pub fn validate_contains<T: Contains>(val: T, needle: &str) -> bool
Validates whether the value contains the needle
The value needs to implement the Contains trait, which is implement on String, str and Hashmap