7 lines
113 B
Kotlin
Vendored
7 lines
113 B
Kotlin
Vendored
fun test() {
|
|
fun <caret>String.foo(n: Int): Boolean {
|
|
return length - n/2 > 1
|
|
}
|
|
|
|
"1".foo(2)
|
|
} |