<!--
{
  "availability" : [
    "iOS: 2.0.0 - 9.0.0",
    "iPadOS: 2.0.0 - 9.0.0",
    "macCatalyst: 13.1.0 - 13.1.0"
  ],
  "documentType" : "symbol",
  "framework" : "AddressBook",
  "identifier" : "/documentation/AddressBook/ABRecordGetRecordType(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Address Book"
    ],
    "preciseIdentifier" : "c:@F@ABRecordGetRecordType"
  },
  "title" : "ABRecordGetRecordType(_:)"
}
-->

# ABRecordGetRecordType(_:)

Returns the type of a record.

```
func ABRecordGetRecordType(_ record: ABRecord!) -> ABRecordType
```

## Parameters

`record`

The record whose type is being returned.

## Return Value

The record type of `record`:

## Discussion

- [`kABPersonType`](/documentation/AddressBook/kABPersonType) for person records
- [`kABGroupType`](/documentation/AddressBook/kABGroupType) for group records.
- [`kABSourceType`](/documentation/AddressBook/kABSourceType) for source records.

---

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)