---
title: "type(ofProperty:)"
framework: addressbook
role: symbol
role_heading: Type Method
path: "addressbook/abperson/type(ofproperty:)"
---

# type(ofProperty:)

Returns the type of a given property.

## Declaration

```swift
class func type(ofProperty property: String!) -> ABPropertyType
```

## Parameters

- `property`: The property whose type will be returned.

## Discussion

Discussion If the property does not exist, this method returns kABErrorInProperty.

## See Also

### Managing Properties

- [addPropertiesAndTypes(_:)](addressbook/abperson/addpropertiesandtypes(_:).md)
- [removeProperties(_:)](addressbook/abperson/removeproperties(_:).md)
- [properties()](addressbook/abperson/properties().md)
