exists

open fun exists(path: String): Boolean

Checks if specified path points to a file or directory that exists on the local filesystem.

Return

true is the path points to a local file or directory.

Parameters

path

the string path to be checked.