https://kotlinlang.org logo
r

robin

01/18/2017, 3:35 PM
And then call it like
val (head, tail) = getMyList().headAndTail()