dgs.utils.files.is_file¶
- dgs.utils.files.is_file(filepath: str) bool [source]¶
Returns whether this filepath is an existing file 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 path, False otherwise.
- Return type:
bool