5 lines
61 B
Plaintext
5 lines
61 B
Plaintext
fun isZero(x: Int) = when(x) {
|
|
0 => true
|
|
else => false
|
|
}
|