exists

abstract suspend fun exists(path: Path): Boolean(source)

Verifies the existence of a file or directory. This operation is atomic and thread-safe.

Return

true if the path exists and is accessible

Parameters

path

Target path to check