Instance Method

isEqualToValue:

Returns a Boolean value that indicates whether the value object and another value object are equal.

Declaration

- (BOOL)isEqualToValue:(NSValue *)value;

Parameters

aValue

The other value object with which to compare the value object.

Return Value

YES if both value objects are equal; otherwise, NO.

Discussion

The NSValue class compares the type and contents of each value object to determine equality.