title: Check if class is a subclass of another class
body: <p>How can I check if a class is a subclass of another class using types only, without objects?</p>
  <p>Something like:</p>
  <pre><code>class SuperClass {}
  class SubClass: SuperClass {}
  
  SuperClass.self == SubClass.self // should return true, but it returns false
  </code></pre>