Function psort::is_jpeg

source ·
pub fn is_jpeg(file: DirEntry) -> Option<DirEntry>
Expand description

Returns the file handle if the lowercase extension corresponds to either “jpeg” or “jpg”. Useful in filter_map.