Returns a Boolean value indicating whether two types are identical.
SDK
- Xcode 8.0+
Framework
- Swift Standard Library
Declaration
func == (t0: Any.Type?, t1: Any.Type?) -> Bool
Parameters
t0A type to compare.
t1Another type to compare.
Return Value
true if both t0 and t1 are nil or if they represent the same type; otherwise, false.