Contents

isEqual(_:)

Returns whether one custom parameter value is equal to another.

Declaration

func isEqual(_ rightValue: any NSCopying & NSSecureCoding & NSObjectProtocol) -> Bool

Parameters

  • rightValue:

    The value to the right of the equal sign in the equation (leftValue == rightValue).

Return Value

True if the two values are equal, false otherwise.

Discussion

The host application will sometimes need to know whether two custom parameters are equivalent. When it needs to know that, it will call this method on one custom parameter object, and pass it the other as rightValue.

See Also

Instance Methods