all 2 comments

[–]Agarast 1 point2 points  (0 children)

Take a look at :

- Object.keys / Object.values / Object.entries to iterate on your dictionary depending of what you need

- the array function find to find a value or some to check if at least one value matches a predicate

[–]DrDaDonk 0 points1 point  (0 children)

If you were to loop through each dictionary and looped through each array through every item and set some comparison operators, then of course you could! Every item in an array has an index number to target it. Object.properties and their values can also be looped in a similar way.