title: Detect if parameter passed is an array? Javascript
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/1058427/how-to-detect-if-a-variable-is-an-array">How to detect if a variable is an array</a>  </p>
  </blockquote>
  
  
  
  <p>I have a simple question:</p>
  
  <p>How do I detect if a parameter passed to my javascript function is an array? I don't believe that I can test:</p>
  
  <pre><code>if (typeof paramThatCouldBeArray == 'array') 
  </code></pre>
  
  <p>So is it possible?</p>
  
  <p>How would I do it?</p>
  
  <p>Thanks in advance.</p>