Things on this page are fragmentary and immature notes/thoughts of the author. Please read with your own judgement!
Comments¶
Forget to return is a common and tricky mistake in Kotlin!
Unpack Values¶
val(x, y, z) = listOf(1, 2, 3)
println(x)
println(y)
println(z)1
2
3
null