export const hasDuplicates = (arr)=>{
let seen = new Set();
return arr.some(function(currentObject) {
return seen.size === seen.add(currentObject.sn).size;
});
}
For further actions, you may consider blocking this person and/or reporting abuse
Top comments (0)