isDirectory

open fun isDirectory(path: String): Boolean

Checks if specified path points to a directory that exists on the local filesystem. The operation will be performed on an io thread to adhere to the strict mode policy. The calling thread will be blocked until the operation is complete.

Return

true is the path points to a local directory.

Parameters

path

the string path to be checked.