colour_hdri.path_exists#

colour_hdri.path_exists(path: str | None) bool[source]#

Return whether given path exists.

Parameters:

path (str | None) – Path to check the existence.

Returns:

Whether given path exists.

Return type:

bool

Examples

>>> path_exists(__file__)
True
>>> path_exists("")
False