Skip to main content

exists

Check if a path exists.

def exists(
path: str,
kwargs: Any
) - > bool

Check if a path exists.

Parameters

NameTypeDescription
pathstrPath to be checked.
kwargsAnyAdditional arguments to be passed to the underlying filesystem.

Returns

TypeDescription
boolTrue if the path exists, False otherwise.