I want to make a cool higher-order function chain for what I could do (perhaps more verbosely) like this:

```
for (var idx = 0; idx < collecionA.length; idx++) {
    for (item in collectionA[idx].children) {
        if (item.sku == "someVal") return idx
    }
}

```

Does anyone see a snazzy way to do this with map/find/filter/reduce etc.? I keep wanting to use forEach but then get pwnd when I realize I can't return from it.

Something like:

```
return collectionA.children.findIndex( (child) => child.children.oneOfThemIncludesAnObjectWithThisProperty("someVal"))

```