assertk.assertions / isFile

isFile

fun <ERROR CLASS><File>.isFile(): <ERROR CLASS>

Platform and version requirements: JVM

Asserts the file is a simple file (not a directory).

See Also

isDirectory