---
title: "readAttributeMask(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdishwasheralarm/readattributemask(completion:)"
---

# readAttributeMask(completion:)

## Declaration

```swift
func readAttributeMask(completion: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeMask() async throws -> NSNumber
```
