title: How to determine if two objects are of the same type in Swift
body: <p>There's lots of past questions relating to this but all the ones I could find are for when you want to determine if an object is of a certain type of class (<code>if myClassInstance is MyClassType {...}</code>).</p>
  
  <p>I want to know how I can determine if object A and object B are of the same class type without having to know/specify what that type is.</p>