How to pass a Swift type as a method argument?
<p>I'd like to do something like this:</p>

<pre><code>func doSomething(a: AnyObject, myType: ????)
{
   if let a = a as? myType
   {
       //…
   }
}
</code></pre>

<p>In Objective-C the class of class was <code>Class</code></p>