title: How can I check if the array of objects have duplicate property values?
body: <p>I need some help with iterating through array, I keep getting stuck or reinventing the wheel.</p>
  
  <pre><code>values = [
      { name: 'someName1' },
      { name: 'someName2' },
      { name: 'someName1' },
      { name: 'someName1' }
  ]
  </code></pre>
  
  <p>How could I check if there are two (or more) same name value in array? I do not need a counter, just setting some variable if array values are not unique. Have in mind that array length is dynamic, also array values.</p>