dgs.utils.files.is_dir¶
- dgs.utils.files.is_dir(filepath: str) bool [source]¶
Returns whether this filepath is an existing directory either everywhere or from this project.
- Parameters:
filepath (FilePath) – The path to check.
- Returns:
True if the filepath is either a local, global, or absolute directory, False otherwise.
- Return type:
bool