<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABRecordCopyRecordType(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABRecordCopyRecordType"
  },
  "title" : "ABRecordCopyRecordType(_:)"
}
-->

# ABRecordCopyRecordType(_:)

Returns the type of the given record.

```
func ABRecordCopyRecordType(_ record: ABRecordRef!) -> Unmanaged<CFString>!
```

## Parameters

`record`

The record whose type you wish to obtain.

## Return Value

The type of `record`,one of the `kAB...RecordType` constants.You are responsible for releasing this object.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)