title: Can you please explain Lodash Iteratee function in English?
body: <p>I'm trying to figure out how Lodash iteratee works and where I would use it.</p>
  <blockquote>
  <p>The documentation says:</p>
  <p>Creates a function that invokes func with the arguments of the created function. If func is a property name, the created function returns the property value for a given element. If func is an array or object, the created function returns true for elements that contain the equivalent source properties, otherwise it returns false.</p>
  </blockquote>
  <p>This is one of the examples from the documentation, but I'm having some trouble wrapping my head around this.</p>
  <pre><code>var users = [
    { 'user': 'barney', 'age': 36, 'active': true },
    { 'user': 'fred',   'age': 40, 'active': false }
  ];
  
  // The `_.matches` iteratee shorthand.
  _.filter(users, _.iteratee({ 'user': 'barney', 'active': true }));
  // =&gt; [{ 'user': 'barney', 'age': 36, 'active': true }]
  </code></pre>