dgs.utils.files.is_abs_file

dgs.utils.files.is_abs_file(filepath: str) bool[source]

Returns whether this filepath is an existing files absolute path.

Parameters:

filepath (FilePath) – The path to check.

Returns:

True if the filepath is an absolute file, False otherwise.

Return type:

bool