typescript array filter by 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');