Function sortery::tools::sort::is_type [−][src]
fn is_type(path: &File, types: &str) -> boolExpand description
Return true if path’s type is one of the types in types.
“Type” refers to the file extension, as in "jpg", "png", etc.