Join Slack
Powered by
if you have a `List<Int>` and you just want ...
# announcements
s
Shawn
02/04/2018, 9:12 PM
if you have a
List<Int>
and you just want the unique values, use
.toSet()
since sets don’t allow duplicate values
k
Kevin Janvier Chinabalire
02/04/2018, 9:16 PM
let me try that ,,, because i have a long list .. i m displaying to a user but i don't want to show my user a duplicated items
2
Views
Open in Slack
Previous
Next