Answers for "get distinct values in array typescript"

3

javascript get unique values from key

const unique = [...new Set(array.map(item => item.age))];
Posted by: Guest on June-05-2020

Code answers related to "get distinct values in array typescript"

Code answers related to "Javascript"

Browse Popular Code Answers by Language