filter array of objects by property typescript code example
Example: typescript filter list by property
const object = {
firstAttribute: 'firstValue',
secondAttribute: 'secondValue'
};
objectList.filter(o -> o.firstAttribute === 'firstValue');