10 lines
120 B
Kotlin
10 lines
120 B
Kotlin
package foo
|
|
|
|
fun Int.quadruple(): Int {
|
|
return this * 4;
|
|
}
|
|
|
|
fun box(): Boolean {
|
|
return (3.quadruple() == 12)
|
|
}
|