---
title: "readAttributeLampQuantity(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterballastconfiguration/readattributelampquantity(completion:)"
---

# readAttributeLampQuantity(completion:)

## Declaration

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

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