Looking at this object structure
Names = [
{
group: 'BII',
categories: null
},
{
group: 'GVL',
categories: []
}
];
I want to generate a new array of strings that resembles this
Groups = ['BII','GVL'];
Is there an easy way to achieve this in Angular or do I need to manually inspect all object properties?