isEqualTo(const OSMetaClassBase *)
Tests the equality of an OSString 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 OSString is considered equal to another object if that object is derived from OSString and contains the equivalent bytes of the same length.