title: Is possible to change a property inside a item and return the item itself?
body: <p>I have a code like this on my app</p>
  
  
  
  <pre class="lang-js prettyprint-override"><code>var name = 'TesT'; 
  var nameLowercase = name &amp;&amp; name.toLowerCase (), 
      namesToTest = ['asd', 'asd1', 'TesT'];
  
  var findCorrectName = R.pipe(
      R.map(R.toLower),     
      R.any(R.equals(nameLowercase))
  );
  
  var hasFoundName = findCorrectName (namesToTest);
  
  return hasFoundName;
  </code></pre>
  
  <p>But, now I need to do a search in a list of objects and the property 'name' must be put to lowercase. When found an object that matches my search, I need to get it. </p>
  
  <p>I've read the documentation but I couldn't find a solution.</p>
  
  <pre class="lang-js prettyprint-override"><code>var name = 'TesT'; 
  var nameLowercase = name &amp;&amp; name.toLowercase (), 
  namesToTest = [ { name : 'asd', otherProperties... },
                  { name : 'asd1', otherProperties... },
                  { name : 'TesT', otherProperties... }];
  
  var findByCorrectName = R.pipe(
      R.map(
          R.pipe(R.prop('name'), R.toLower)),
          R.find(R.propEq('name', nameLowercase))
      );
  
  var foundObject = findByCorrectName (namesToTest);
  
  return foundObject;
  </code></pre>