getUniqueArray()function

getUniqueArray(list: PossibleArray<T>): ImmutableArray<T>
ParamType
listPossibleArray<T>
The array or iterable to deduplicate. required
Return
ImmutableArray<T>
A new array with duplicate items removed, or the same array if all items were already unique.

Return an array of the unique items in an array.