is_dir

Function is_dir 

Source
pub fn is_dir(path: &str) -> bool
Expand description

It returns false if path doesn’t exist