Skip to main content

has_extension

Function has_extension 

Source
pub fn has_extension(name: &str, extensions: &[&str]) -> bool
Expand description

Check if name has one of the given extensions