isdir

Function isdir 

Source
pub fn isdir<P>(path: P) -> bool
where P: AsRef<str>,
Expand description

os.path.isdir - check if path is a directory