title: Using typeof in Xtend
body: <p>It might be the stupidest question on Xtend. But here it goes</p>
  
  <p>I'm trying to convert the following to Xtend</p>
  
  <pre><code>if (obj instanceof Integer) {
      message.reply((Integer)obj);
  }
  </code></pre>
  
  <p>I know that I would need to use the <code>typeof</code> function.</p>
  
  <p>Can I use <code>typeof</code>as a direct replacement to <code>instanceof</code>? </p>