xAPI-Dashboard
xAPI-Dashboard copied to clipboard
How do I filter out duplicates?
I absolutely love this API. I have a question, however.
Let's say the contents of my collection after some manipulation is an array of objects with this signature :
{
name: String,
eLearning: String
}
How would I filter out the dublicate objects? - e.g. objects with the exact name value and exact same eLearning value as an object already in the array?