isDir

open fun isDir(dirPath: String): Boolean

Return whether it is a directory.

Return

{@code true}: yes{@code false}: no

Parameters

dirPath

The path of directory.

open fun isDir(file: File): Boolean

Return whether it is a directory.

Return

{@code true}: yes{@code false}: no

Parameters

file

The file.