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

# type(ofProperty:)

Returns the type for a given property.

## Declaration

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

## Parameters

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

## Return Value

Return Value The property type of property.

## Discussion

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

## See Also

### Managing properties

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