title: _.findWhere array-object within array-object property equals something
body: <p>I have an array like this:</p>
  
  <pre><code>var colors = [
    {
      "name": "red",
      "ids":[
        {
          "id": 1
        }
      ]    
    },
    {
      "name": "blue",
      "ids":[
        {
          "id": 5
        }
      ]    
    }
  ]
  </code></pre>
  
  <p>And I essentially want to find the object where the first id within ids is equal to something.</p>
  
  <pre><code>_.findWhere(colors, {
    "ids.0.id": 1
  })
  </code></pre>
  
  <p>Is this the best way to go about it?</p>
  
  <pre><code>var color = _.chain(colors)
  .map(function(color){
    color.id = color.ids[0].id
    return color
  })
  .findWhere({
    "id": 1
  })
  .value()
  
  console.log(color)
  </code></pre>