Contents

isEqualTo(const OSArray *)

Tests the equality of two OSArray objects.

Declaration

virtual bool isEqualTo(
 const OSArray *anArray) const;

Parameters

  • anArray:

    The array object being compared against the receiver.

Return Value

true if the two arrays are equivalent, false otherwise.

Overview

Two OSArray objects are considered equal if they have same count and if the objects at corresponding indices compare as equal using isEqualTo.

See Also

Miscellaneous