angular 10 get unique values from array of objects 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)));