Contents

isEqualTo(const OSMetaClassBase *)

Tests the equality an OSNumber to an arbitrary object.

Declaration

virtual bool isEqualTo(
 const OSMetaClassBase *anObject) const;

Parameters

  • anObject:

    An object to be compared against the receiver.

Return Value

true if the objects are equal, false if not.

Overview

An OSNumber is considered equal to another object if that object is derived from OSNumber and represents the same C integer value.

See Also

Miscellaneous