title: Search in all json's elements with lodash.js
body: <p>friens i have object json : </p>
  
  <pre><code>  var companies= [
      { id: 1, name: "Test Company", admin: "Test Admin" },
      { id: 2, name: "Another Company", admin: "Test Admin", country: 'Spain' },
      { id: 3, name: "New Company", admin: "Admin 4" },
      { id: 4, name: "Free Company", admin: "Jhon Miller", city: 'New York' }
  ];
  </code></pre>
  
  <p>and I am writing a function for return new json with elements that I pass as parameters(filter). I make a simple</p>
  
  <pre><code>   function searchBooks(companies,filter){
      var result;
        if (typeof filter=== "undefined" ||  filter.length==0) {
            result = companies;
        } else {
          result = _.filter(companies, function (c) {
           return _.includes(_.lowerCase(c.name),_.lowerCase(filter));
         });
       }
   }
  </code></pre>
  
  <p>With my function I can only filter by name, My question is: how i can filter by name,admin,country,city  except by id, for example if you pass 4 in the variable should return : </p>
  
  <p>{ id: 3, name: "New Company", admin: "Admin 4" }</p>
  
  <p>or if I search iLl should return : </p>
  
  <p>{ id: 4, name: "Free Company", admin: "Jhon Miller", city: 'New York' }</p>
  
  <p>Thanks</p>