Contents

isEqualTo

Tests the equality of an OSSymbol object to an arbitrary object.

Declaration

virtual bool isEqualTo(
 const OSMetaClassBase *anObject) const;

Parameters

  • anObject:

    The object to be compared against the receiver.

Return Value

Returns true if the two objects are equivalent, false otherwise.

Overview

An OSSymbol is considered equal to another object if that object is derived from OSString and contains the equivalent bytes of the same length.

See Also

Miscellaneous