fun <ERROR CLASS><File>.isFile(): <ERROR CLASS>
Platform and version requirements: JVM
fun Assert<File>.isFile(): Unit
Asserts the file is a simple file (not a directory).
See Also
isDirectory