Function

CFEqual

Determines whether two Core Foundation objects are considered equal.

Declaration

Boolean CFEqual(CFTypeRef cf1, CFTypeRef cf2);

Parameters

cf1

A CFType object to compare to cf2.

cf2

A CFType object to compare to cf1.

Return Value

true if cf1 and cf2 are of the same type and considered equal, otherwise false.

Discussion

Equality is something specific to each Core Foundation opaque type. For example, two CFNumber objects are equal if the numeric values they represent are equal. Two CFString objects are equal if they represent identical sequences of characters, regardless of encoding.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software