---
title: "writeAttributeRangeRestrictedInt16u(withValue:params:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterunittesting/writeattributerangerestrictedint16u(withvalue:params:completion:)"
---

# writeAttributeRangeRestrictedInt16u(withValue:params:completion:)

## Declaration

```swift
func writeAttributeRangeRestrictedInt16u(withValue value: NSNumber, params: MTRWriteParams?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeRangeRestrictedInt16u(withValue value: NSNumber, params: MTRWriteParams?) async throws
```
