Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

unique list typescript

list = list.filter(function (x, i, a) { 
    return a.indexOf(x) === i; 
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #unique #list #typescript
ADD COMMENT
Topic
Name
8+3 =