Contents

protocol_isEqual(_:_:)

Returns a Boolean value that indicates whether two protocols are equal.

Declaration

func protocol_isEqual(_ proto: Protocol?, _ other: Protocol?) -> Bool

Parameters

  • proto:

    A protocol.

  • other:

    A protocol.

Return Value

YES if proto is the same as other, otherwise NO.

See Also

Working with Protocols