---
title: "readAttributeSupportedModes(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustermodeselect/readattributesupportedmodes(completion:)"
---

# readAttributeSupportedModes(completion:)

## Declaration

```swift
func readAttributeSupportedModes(completion: @escaping @Sendable ([Any]?, (any Error)?) -> Void)
```

```swift
func readAttributeSupportedModes() async throws -> [Any]
```
