Contents

!==(_:_:)

Returns a Boolean value indicating whether two references point to different object instances.

Declaration

func !== (lhs: AnyObject?, rhs: AnyObject?) -> Bool

Parameters

  • lhs:

    A reference to compare.

  • rhs:

    Another reference to compare.

Discussion

This operator tests whether two instances have different identities, not different values. For value inequality, see the not-equal-to operator (!=) and the Equatable protocol.

See Also

Comparing Identity