mirror of
https://github.com/jlengrand/kotlin.git
synced 2026-05-09 15:53:37 +00:00
5 lines
135 B
Kotlin
Vendored
5 lines
135 B
Kotlin
Vendored
fun box(): String {
|
|
fun Int.is42With(that: Int) = this + 2 * that == 42
|
|
return if ((Int::is42With)(16, 13)) "OK" else "Fail"
|
|
}
|