Avatar
func isSubclass< U: AnyObject, T: AnyObject>(_ object: U, of: T.Type) -> Bool { return object is T && !(type(of: object) == T.self) } String fuck の対策を入れたぞ