What is the fastest way to check whether a specific UserID exists in the array using Jquery or Javascript
<p>I have an array of objects <code>gAllMedicalFilesClaimantsArray</code> with 2 properties (UserID &amp; UserInfo)</p>

<p>For example:</p>

<pre><code>gAllMedicalFilesClaimantsArray[0].UserID = "111"; 
gAllMedicalFilesClaimantsArray[0].UserInfo = "AAA-111";
gAllMedicalFilesClaimantsArray[1].UserID = "222"; 
gAllMedicalFilesClaimantsArray[1].UserInfo = "BDD-478333";
</code></pre>

<p>What is the fastest way to check whether a specific UserID exists in the array using Jquery or Javascript because <code>gAllMedicalFilesClaimantsArray</code> has got 8000 records?</p>

<p>Thanks</p>
