exists

common
fun exists(path: Path): Boolean

Returns true if path identifies an object on this file system.

Throws

if path cannot be accessed due to a connectivity problem, permissions problem, or other issue.

js
fun exists(path: Path): Boolean

Throws