title: AS3: Checking if a variable is of the Object type
body: <p>I want to do something like this in Actionscript 3:</p>
  
  <pre><code>if(variable is Object) ...;
  else ...;
  </code></pre>
  
  <p>Where <code>variable</code> could be a <code>String()</code>, <code>Number()</code>, <code>Array()</code>, <code>Object()</code>...</p>
  
  <p>Currently the above check returns true for all of these types, which makes sense. I only want it to return true for objects made with <code>new Object()</code>, however.</p>
  
  <p>Any help would be much appreciated!</p>