(self, path: PATH_TYPES)
return path.is_dir()
Check whether the provided path is a directory.
Check whether the provided path is a directory.
Check whether the provided path is a directory .
def is_dir(self, path: PATH_TYPES) -> bool:
        """Check whether the provided path is a directory."""
        if not isinstance(path, pathlib.Path):
            path = pathlib.Path(path)
        return path.is_dir()
def is_dir ( self , path : PATH_TYPES ) -> bool : if not isinstance ( path , pathlib . Path ) : path = pathlib . Path ( path ) return path . is_dir ( )