Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

filter object array

objects.filter((value, index, self) => {
  return self.findIndex(v => v.actor.name === value.actor.name) === index;
})
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #filter #object #array
ADD COMMENT
Topic
Name
8+9 =