Contents

isEqualTo(const OSString *)

Tests the equality of two OSString objects.

Declaration

virtual bool isEqualTo(
 const OSString *aString) const;

Parameters

  • aString:

    The OSString object being compared against the receiver.

Return Value

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

Overview

Two OSString objects are considered equal if they have same length and if their byte buffers hold the same contents.

See Also

Miscellaneous