lodash uniqWith with an array of objects
<p>i have an array of objects like:</p>

<p><code>[{id: '123', name: 'John', someKey:'1234'}, {id: '123', name: 'John', someKey:'12345'}]</code></p>

<p>this is only a basic example, the data is much more complicated so <code>_.isEqual</code> doesn't work.</p>

<p>what do I do with the comparator? I wanna compare the <code>id</code> if they are equal.</p>

<p><code>_.uniqWith(myArray, function(something) {return something})</code></p>