I have an array with several objects within. I want to retrieve the object with the property called types, which is an array, having an entry called "zoom". Here is what the array of objects looks like:
[Object, Object, Object]
0: Object
1: Object
2: Object
exclude: "0"
file: "/m/a/max_wind_zoom.jpg"
position: "7"
types: Array[1]
0: "zoom"
So I want to only extract object 2 in this case since its property types has an entry zoom.
I'm really puzzled as how to achieve this.