---
title: "addAttribute(_:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrservercluster/addattribute(_:)"
---

# addAttribute(_:)

## Declaration

```swift
func addAttribute(_ attribute: MTRServerAttribute) -> Bool
```
