exists

expect fun exists(): Boolean(source)

Tests whether the file or directory denoted by this abstract pathname exists.

Return

true if and only if the file or directory denoted by this abstract pathname exists; false otherwise.

actual fun exists(): Boolean(source)