Join Slack
Powered by
<https://twitter.com/kotlin/status/134428462014628...
# announcements
u
user
12/30/2020, 2:10 PM
https://twitter.com/kotlin/status/1344284620146286593
Use the partition function to split a collection into two lists based on a predicate. The function returns a pair of lists: the first contains all elements for which the predicate evaluates to true; the second contains all the other elements.
https://t.co/lY57Sq802L
#KotlinTips
https://t.co/S6cqbgQ5i1
Twitter
👍 7
👀 6
2
Views
Open in Slack
Previous
Next