title: How to check the type of object in ArrayList
body: <p>Is there a way to get the type of object in the arraylist?</p>
  
  <p>I need to make an IF statment as the following (in C#):</p>
  
  <pre><code>if(object is int)
   //code
  else
   //code
  </code></pre>
  
  <p>thanks</p>