fun <T : File> Builder<T>.isDirectory(): Builder<T>
Asserts that the file is a directory.
See Also
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.
options - the options indicating how symbolic links are handled
See Also