Function is_directory

Source
pub fn is_directory<P: AsRef<Path>>(path: P) -> bool