tumourkit.utils.pipes.check_void
- tumourkit.utils.pipes.check_void(path: str) bool
Checks if a directory is void (empty) or if a file exists..
- Parameters:
path (str) – The path to the directory or file.
- Returns:
True if the directory is void (empty) or the file exists, False otherwise.
- Return type:
bool