strikt-core / strikt.assertions / isDirectory

isDirectory

fun <T : File> Builder<T>.isDirectory(): Builder<T>

Asserts that the file is a directory.

See Also

File.isDirectory

fun <T : Path> Builder<T>.isDirectory(vararg options: LinkOption = emptyArray()): Builder<T>

Asserts that the subject is a directory, handling symbolic links according to the provided options.

Parameters

options - the options indicating how symbolic links are handled

See Also

Files.isDirectory