https://kotlinlang.org logo
Title
h

heehawgr

09/02/2019, 8:58 AM
May I ask a question? What’s the point of these extension methods in the source code of _Collections.kt? Occasionally find them while reading codes, a little bit confused😶
g

gildor

09/02/2019, 9:02 AM
you can do this for simple destructuring first 5 items of any list:
val (first, second, third) = someList
Also not related to #android, #getting-started is better place for such questions
h

heehawgr

09/02/2019, 9:07 AM
@gildor Thx for reply :) I’ll pay attention next time😅