xAPI-Dashboard icon indicating copy to clipboard operation
xAPI-Dashboard copied to clipboard

How do I filter out duplicates?

Open rscharfer opened this issue 7 years ago • 0 comments

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?

rscharfer avatar Jan 12 '18 10:01 rscharfer