is_dir

Function is_dir 

Source
pub async fn is_dir<P>(path: P) -> bool
where P: AsRef<Path>,