distinct

.distinct from:{Iterable<Any>} -> Iterable<Any>

Return

a new collection with the same elements as the original, without duplicates

Parameters

from

collection to get the distinct elements from