5 lines
81 B
Kotlin
5 lines
81 B
Kotlin
fun box() : String {
|
|
fun foo<T>(t:() -> T) : T = t()
|
|
|
|
return foo {"OK"}
|
|
} |