Function is_directory

Source
pub fn is_directory(path: &str) -> Result<bool, String>