title: Is it possible to check if a value exists inside an array full of objects without looping?
body: <p>I Have an array holding multiple objects. Is it posible to check if a value exists in any one of the objects e.g. id->27 <strong>without looping</strong>? In a similar fashion to PHP's in_array() function. Thanks.</p>
  
  <pre><code>&gt; array(10)[0]=&gt;Object #673 
                       ["id"]=&gt;25 
                       ["name"]=&gt;spiderman   
             [1]=&gt;Object #674
                       ["id"]=&gt;26
                       ["name"]=&gt;superman   
             [2]=&gt;Object #675
                       ["id"]=&gt;27
                       ["name"]=&gt;superman 
             ....... 
             .......
             .........
  </code></pre>