title: Using LoDash, how do I integrate a function into a _where method?
body: <p>I have an array of objects that each have a date property.  For some of the objects, the "Date" property is blank.  I want to remove those from my object so that my view doesn't end up with entries containing NaN for the date.</p>
  
  <p>Here is what I have tried:</p>
  
  <pre><code>_.where(data, { 'Date': d.Date instanceof Date &amp;&amp; isFinite(d) })
  </code></pre>
  
  <p>AND</p>
  
  <pre><code>_.where(data, function(d) {
                          return d.Date instanceof Date &amp;&amp; isFinite(d.date);
                      });
  </code></pre>
  
  <p>Both return 0 results however.</p>