assertk.assertions / isDirectory

isDirectory

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

Platform and version requirements: JVM


fun Assert<File>.isDirectory(): Unit

Asserts the file is a directory.

See Also

isFile

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

Platform and version requirements: JVM


fun Assert<Path>.isDirectory(vararg options: LinkOption): Unit

Assert that the path is a directory.

Parameters

options - indicating how symbolic links are handled