assertk.assertions / isRegularFile

isRegularFile

fun <ERROR CLASS><Path>.isRegularFile(vararg options: LinkOption): <ERROR CLASS>

Platform and version requirements: JVM


fun Assert<Path>.isRegularFile(vararg options: LinkOption): Unit

Assert that the path is a regular file.

Parameters

options - indicating how symbolic links are handled