Checking if array contains a number (Issue with 0)
<p>I have an array of numbers. The array may contain a zero.</p>

<p>How can I check if the array contains a number or not? I am currently doing that:</p>

<p><code>if (Number(arr. value(pos)) != false)</code></p>

<p>This however, considers <code>0</code> as false too. So if a 0 is in the array, it will consider it as if the array was empty.</p>

<p>How can I overcome this?</p>
