title: lodash - is there a method to filter by array of single property?
body: <pre><code>const buttons = [
    { id: 1, text: 'First' },
    { id: 2, text: 'Second' },
    { id: 3, text: 'Third' }
  ]
  
  const activeButtonIds = [1, 3]
  </code></pre>
  <p>Using <strong>lodash</strong>, I want to filter out all buttons with ids not included within <code>activeButtonIds = [1, 3]</code>.</p>
  <p>The obvious way of doing that is:</p>
  <p><code>_.filter(buttons, ({ id }) =&gt; _.includes(activeButtonIds, id))</code></p>
  <p>But I was wondering, is there a simpler way of achieving the same thing? A built-in function for this within <strong>lodash</strong>?</p>