title: Filtering object properties based on value
body: <p>Is there some elegant way of filtering out falsey properties from this object with lodash/underscore? Similar to how <code>_.compact(array)</code> removes falsey elements from arrays</p>
  
  <p>so from</p>
  
  <pre><code>{
    propA: true,
    propB: true,
    propC: false,
    propD: true,
  }
  </code></pre>
  
  <p>returning </p>
  
  <pre><code>{
    propA: true,
    propB: true,
    propD: true,
  }
  </code></pre>