Instance Method

isNotEqualTo:

Returns a Boolean value that indicates whether the receiver is not equal to another given object.

Declaration

- (BOOL)isNotEqualTo:(id)object;

Parameters

object

The object with which to compare the receiver.

Return Value

YES if the receiver is not equal to object, otherwise NO.

Discussion

Currently, isNotEqualTo: messages are never sent to any object from within Cocoa itself.

The default implementation for this method provided by NSObject method returns YES if an isEqual: message sent to the same object would return NO.

See Also

Performing comparisons

- doesContain:

Returns a Boolean value that indicates whether the receiver contains a given object.

- isCaseInsensitiveLike:

Returns a Boolean value that indicates whether receiver is considered to be “like” a given string when the case of characters in the receiver is ignored.

- isEqualTo:

Returns a Boolean value that indicates whether the receiver is equal to another given object.

- isGreaterThan:

Returns a Boolean value that indicates whether the receiver is greater than another given object.

- isGreaterThanOrEqualTo:

Returns a Boolean value that indicates whether the receiver is greater than or equal to another given object.

- isLessThan:

Returns a Boolean value that indicates whether the receiver is less than another given object.

- isLessThanOrEqualTo:

Returns a Boolean value that indicates whether the receiver is less than or equal to another given object.

- isLike:

Returns a Boolean value that indicates whether the receiver is "like" another given object.