isFile

open fun isFile(path: String): Boolean

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

Return

true is the path points to a local file.

Parameters

path

the string path to be checked.