{ foo: [ foo1: true ],
bar: [ bar1: true, bar2: true ],
foobar: [ foobar1: true ] }
Within this object containing values in array-like objects, I am seeking to identify if a key exists with the value of [ bar1: true, bar2: true ]
. If such a key is found associated with the specified value, its name should be returned.
To clarify, my objective is to search for the key linked to a particular value within the given object structure.