title: How to find whether object exist in array or not javascript
body: <p>I have an array of objects in javascript. Something similar to this :</p>
  
  <pre><code>    var objectArray = [
           { "Name" : "A", "Id" : "1" },
           { "Name" : "B", "Id" : "2" },
           { "Name" : "C", "Id" : "3" },
           { "Name" : "D", "Id" : "4" }
      ];
  </code></pre>
  
  <p>Now i am trying to find out whether an object with a given property <code>Name</code> value exist in the array or not through in built function like <code>inArray</code>, <code>indexOf</code> etc. Means if i have only a string <code>C</code> than is this possible to check whether an obejct with property Name C exist in the array or not with using inbuilt functions like indexOf, inArray etc ?</p>