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