I have this array:
[{name: 'Brad', age: 30, isOlder: true, youngerBrother: 'Oleg'}, {name: 'Brad', age: 30, isOlder: false, youngerBrother: 'Michael'}]
I want to check if the items on the list are duplicated by specific keys.
for example - if name, age are the same on the list, the rows are duplicated, without paying attention to isOlder or youngerBrother.
I tried to use lodash _uniq but there is no option for excluding keys/paying attention to specific keys