assertk.assertions / exists

exists

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

Platform and version requirements: JVM

Asserts the file exists.