ReferenceNQE LanguageStandard LibrarydistinctOn this pagedistinctdistinct(list: List<T>) : List<T> for any type T. Returns the unique items in list. In other words, distinct deduplicates the list while preserving the order of the items in the original list. See also Types Lists