---
title: "UTTypeEqual(_:_:)"
framework: coreservices
role: symbol
role_heading: Function
path: coreservices/1447783-uttypeequal
---

# UTTypeEqual(_:_:)

Returns whether two uniform type identifiers are equal.

## Declaration

```swift
func UTTypeEqual(_ inUTI1: CFString, _ inUTI2: CFString) -> Bool
```

## Parameters

- `inUTI1`: A uniform type identifier.
- `inUTI2`: The uniform type identifier to compare it to.

## Return Value

Return Value Returns true if the two uniform type identifiers are equivalent.
