fun <T : File> Builder<T>.isRegularFile(): Builder<T>
Asserts that the file is a regular file.
See Also
fun <T : Path> Builder<T>.isRegularFile(vararg options: LinkOption = emptyArray()): Builder<T>
Asserts that the subject is a regular file, handling symbolic links according to the provided options.
options - the options indicating how symbolic links are handled
See Also