let a: @convention(block) () -> Int = { 42 } type(of: a) // @conversion(block) () -> Int (a as AnyObject) === (a as AnyObject) // true let b: Any = a type(of: b) // @conversion(block) () -> Int (b as AnyObject) === (b as AnyObject) // false