pub fn is_dirty(input: impl AsRef<str>) -> boolExpand description
Checks whether the given string is “dirty” (i.e. contains banned characters).
§Example
use ntfsanitise::is_dirty;
assert!(is_dirty("Me? Dirty?"));
assert!(!is_dirty("Nice and clean!"));