How to destruct a Kotlin list into sublists?
How can I destruct a list in Kotlin into two sublists? Currently I do something like this: val (first, rest) = listOf("one", "two", "three") But doing so, first is "one" and rest is "two". I want...