how to get unique values from array in angular code example
Example: angular 10 get unique values from array of objects
Array.from(new Set(yourArray.map((item: any) => item.name)));
Array.from(new Set(yourArray.map((item: any) => item.name)));