Javascript – Best way to check if an array of objects contains duplicates
What is the best way to return information about duplicates in typescript from a large array of objects (I want it to return true or false). let testArray: { id: number, name: string }[] = [ { "id": 0, "name":…