---
title: "readAttributeBoolean(with:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterunittesting/readattributeboolean(with:)"
---

# readAttributeBoolean(with:)

## Declaration

```swift
func readAttributeBoolean(with params: MTRReadParams?) -> [String : Any]?
```
