title: lambda like matching on json object for javascript backbone?
body: <p>not a front end SME....is there a javascript or backbone(_) equivalent of this java 8 lambda instead of looping over a JSON array and matching on "type"? :</p>
  
  <pre><code>{
    "things": [
      {
        "type": "THE_OTHER_THING"
      },
      {
        "type": "MY_THING"
      }
    ]
  }
  </code></pre>
  
  <p>.</p>
  
  <pre><code>thing theThing =  things.stream().filter(x -&gt; x.getType() == ThingType.MY_THING).findFirst().orElse(null);
  </code></pre>