Join Slack
Powered by
it should be ``` val (first4, fifthAndBeyond) = li...
# stdlib
e
enleur
03/31/2017, 10:14 AM
it should be
Copy code
val (first4, fifthAndBeyond) = list.withIndex().partition { it.index < 4 }
4
Views
Open in Slack
Previous
Next