repl.it
@koral/

special files

Kotlin (beta)

No description

fork
loading
main.kt
1
2
3
4
5
6
7
import java.io.File

val file = File("/dev/null")
println("exists:      ${file.exists()}")
println("isFile:      ${file.isFile()}")
println("isDirectory: ${file.isDirectory()}")
Welcome to Kotlin version 1.0.3