assertk.assertions / isDirectory

isDirectory

fun <ERROR CLASS><File>.isDirectory(): <ERROR CLASS>

Platform and version requirements: JVM

Asserts the file is a directory.

See Also

isFile

fun <ERROR CLASS><Path>.isDirectory(vararg options: LinkOption): <ERROR CLASS>

Platform and version requirements: JVM

Assert that the path is a directory.

Parameters

options - indicating how symbolic links are handled