assertk / assertk.assertions / isDirectory

isDirectory

(jvm) fun Assert<File>.isDirectory(): Unit

Asserts the file is a directory.

See Also

isFile

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

Assert that the path is a directory.

Parameters

options - indicating how symbolic links are handled