Contents

CMFormatDescriptionEqual(_:otherFormatDescription:)

Returns a Boolean value that indicates whether two format descriptions are equal.

Declaration

func CMFormatDescriptionEqual(_ formatDescription: CMFormatDescription?, otherFormatDescription: CMFormatDescription?) -> Bool

Parameters

  • formatDescription:

    The first description to compare.

  • otherFormatDescription:

    The second description to compare.

Return Value

true if the two descriptions are equal; otherwise, false.

Discussion

This calls CFEqual on the provided CMFormatDescription objects. In contrast to the Core Foundation call it is NULL safe.

See Also

Comparing Format Descriptions