Skip to main content

extension_in

Function extension_in 

Source
fn extension_in(name: &str, list: &[&str]) -> bool
Expand description

Whether a name’s extension, in any case, is one of list; the dots, spaces and slashes a name may end with left aside.