I want to check if there is a certain value in an array of objects.
For example, if I have something like this:
[ { _id: 1,
name: foo },
{ _id: 2,
name: bar },
{ _id: 3,
name: foox },
{ _id: 4,
name: fooz },
]
var search = [1,25,33,4,22,44,5555,63]
then I want to check if one of the values in search is in one of the objects contained in the array of objects.