I have a JS array of objects like this:
Ident: "2" Text: "Foo" Now I want to check if the object with the Ident equal to 2 is in the array. How can I do this? It's not possible with jQuery.inArray because I don't have the whole object, just the Ident.
arrayof objects? Or with anobjectthat serves as associate array?findfunction in ES6 and it's supported by some browsers. A polyfill is available.