title: working with class as function parameter in Scala
body: <p>Let's say I have the following function:</p>
  <pre><code>def sampleFunc (c : Class[]) : Boolean
  </code></pre>
  <p>It takes a class as parameter. It then checks if a certain element el is of type Class[].
  I tried accomplishing that by doing</p>
  <pre><code>el.isInstanceOf[Class[]]
  </code></pre>
  <p>But that doesn't work, it always returns false.
  Does someone see what I'm doing wrong here?</p>