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

# writeAttributeNullableInt40s(withValue:params:completion:)

## Declaration

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

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