Contents

CMMetadataDataTypeRegistryDataTypeIsBaseDataType(_:)

Returns a Boolean value that indicates whether a data type identifier represents a base data type.

Declaration

func CMMetadataDataTypeRegistryDataTypeIsBaseDataType(_ dataType: CFString) -> Bool

Parameters

  • dataType:

    Identifier of the data type to be queried.

Return Value

kCFBooleanTrue if first data type conforms to the second data type; kCFBooleanFalse otherwise.

Discussion

This is simply a convenience method to test to see if a given data type identifier is in the array returned by CMMetadataDataTypeRegistryGetBaseDataTypes().

See Also

Inspecting Metadata