assertk.assertions / extension

extension

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

Platform and version requirements: JVM


fun Assert<File>.extension(): Assert<String>

Returns an assert on the file's extension.