lodash find in array
<p>I have two arrays.</p>

<pre><code>var loans = [
  { 'id': '1234', 'active': true, 'state': 'CA' },
  { 'id': '5678', 'active': false, 'state': 'IN' }
];

var people = [
    { 'id':'1', 'licenses': ["IN", "FL"] },
    { 'id':'2', 'licenses': ["CA"] }
];
</code></pre>

<p>I want to use lodash in order to find all the <code>people</code> who have a license in the loan of a state.</p>

<p>i have tried:</p>

<pre><code>_find(loans, "IN");
</code></pre>

<p>but that doesn't work for me.</p>

<p>Anyone have an idea?</p>