---
title: "UTTypeConformsTo(_:_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1444079-uttypeconformsto
---

# UTTypeConformsTo(_:_:)

Returns whether a uniform type identifier conforms to another uniform type identifier.

## Declaration

```swift
func UTTypeConformsTo(_ inUTI: CFString, _ inConformsToUTI: CFString) -> Bool
```

## Parameters

- `inUTI`: A uniform type identifier to compare.
- `inConformsToUTI`: The uniform type identifier to compare it to.

## Return Value

Return Value Returns true if the uniform type identifier is equal to or conforms to the second type.
