OperatorSwift

    ==(_:_:)

    Returns a Boolean value indicating whether two types are identical.

    func == (t0: Any.Type?, t1: Any.Type?) -> Bool

    Parameters

    t0

    A type to compare.

    t1

    Another type to compare.

    Returns

    true if both t0 and t1 are nil or if they represent the same type; otherwise, false.