title: Using filter() in combination with includes() to get partial matches
body: <p>I have an array with objects I want to search through. The searchable array looks like this:</p>
  
  <pre><code>[
      { value: 0, label: 'john' },
      { value: 1, label: 'johnny' },
      { value: 2, label: 'peter' },
      { value: 3, label: 'peterson' }
  ]
  </code></pre>
  
  <p>I search through this using the Lodash filter method:</p>
  
  <pre><code>search = (text) =&gt; {
      let results = _.filter(
          this.props.options,
          { label: text }
      );
  }
  </code></pre>
  
  <p>This only shows the result that exactly matches the search query (<code>text</code> parameter). I need to make this work with partial matches. So if I insert <code>j</code> or <code>johnny</code> it should be able to find both 'John' and 'Johnny'.</p>
  
  <p>I have tried:</p>
  
  <pre><code>search = (text) =&gt; {
      let results = _.filter(
          this.props.options =&gt; 
              this.props.options.includes({ label: text })
      );
  }
  </code></pre>
  
  <p>But, no luck. No error and no results. How can I make this work?</p>