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

# ABTypeOfProperty(_:_:_:)

Returns the type of a given property for a given record.

```
func ABTypeOfProperty(_ addressBook: ABAddressBookRef!, _ recordType: CFString!, _ property: CFString!) -> ABPropertyType
```

## Parameters

`addressBook`

The address book for the logged-in user.

`recordType`

The record type that contains `property`: kABGroupRecordType or kABPersonRecordType.

`property`

The property whose type you wish to obtain.

## Return Value

The type of `property` as defined in [`ABPropertyType`](/documentation/AddressBook/ABPropertyType). If `property` does not exist in `recordType`, this function returns [`kABErrorInProperty`](/documentation/AddressBook/kABErrorInProperty).

---

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)