I have an array of objects:
[{id:123, data: "blabla"}, {id:456, data: "blablabla"}]
I want to check if one of those id’s is equal to 123.
How do i set the filter? i have tried to use Array contains, but it is not working since it is an array of objects. What other method can i use?
The Iterator is not an option, since i want to do something if the record exists or else return.