exists

Returns true if the file or directory exists at path.

common
fun exists(path: String): Boolean
fun exists(path: String): Boolean
fun exists(pathComponent: PathComponent): Boolean
fun exists(path: String): Boolean
fun exists(pathComponent: PathComponent): Boolean

Returns true if the file or directory exists at pathComponent.

common
fun exists(pathComponent: PathComponent): Boolean