Closed1

Kotlin で void (返り値なし)

tkttkt
fun sample(): Unit {
    print("Hello.")
}

Unit という型らしい

このスクラップは2021/02/17にクローズされました