---
title: "isUnifiedWithContact(withIdentifier:)"
framework: contacts
role: symbol
role_heading: Instance Method
path: "contacts/cncontact/isunifiedwithcontact(withidentifier:)"
---

# isUnifiedWithContact(withIdentifier:)

Returns a Boolean indicating whether the current contact is a unified contact and includes a contact with the specified identifier.

## Declaration

```swift
func isUnifiedWithContact(withIdentifier contactIdentifier: String) -> Bool
```

## Parameters

- `contactIdentifier`: An identifier for an existing contact. If this string is empty, the method returns doc://com.apple.documentation/documentation/Swift/false.

## Return Value

Return Value true if the current contact is a unified contact and if contactIdentifier represents one of the contacts that contributes to the unified information; otherwise, false.

## See Also

### Comparing Contacts

- [descriptorForAllComparatorKeys()](contacts/cncontact/descriptorforallcomparatorkeys().md)
- [comparator(forNameSortOrder:)](contacts/cncontact/comparator(fornamesortorder:).md)
- [CNContactSortOrder](contacts/cncontactsortorder.md)
