How to use Ramda to find matching object in Array by key value
<p><strong><a href="http://ramdajs.com/repl/#?var%20port%20%3D%20%5B%7Bticker%3A%22aa%22%7D%2C%20%7Bticker%3A%22bb%22%7D%5D%0A%0Avar%20ticker%20%3D%20%7Bticker%3A%22aa%22%7D%0A%0Avar%20exist%20%3D%20R.find%28R.propEq%28%27ticker%27%2C%20ticker%29%2C%20port%29%0A%0Aconsole.log%28exist%29%0A" rel="noreferrer">Ramda REPL example</a></strong></p>

<pre><code>var portfolio = [{ticker: "aa"},  {ticker: "bb"}];

var ticker = {ticker:"aa"};

var exist = R.find(R.propEq('ticker', ticker), portfolio)

console.log(exist)
</code></pre>

<p>Currently this is giving me <em>undefined</em>, however <a href="http://ramdajs.com/docs/#propEq" rel="noreferrer">R.propEq</a> should find the matching object by key <code>ticker</code> in <code>port</code> I thought?</p>