nicetoolbox.utils.check_and_exception.file_exists

nicetoolbox.utils.check_and_exception.file_exists(file: str) None[source]

Check if a file exists at the given path.

Parameters:

file (str) – The path to the file to check.

Raises:

FileNotFoundError – If the file does not exist at the given path.

Returns:

None