I have an Array of 241 items, which have many properties, and one of them, i need to check for duplicates and if they exist i want to retrieve them
[{
0: { archived: false,
codes: ["8051827900013"]},
1: { archived: false
codes: ["8051827900013", "8052333451"]}
}]
i tried to map the array to retrieve only the codes but then how does i filter for duplicates?
sorry for such a newbie question around here.