---
title: "writeAttributeNullableBoolean(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/writeattributenullableboolean(withvalue:completionhandler:)"
---

# writeAttributeNullableBoolean(withValue:completionHandler:)

## Declaration

```swift
func writeAttributeNullableBoolean(withValue value: NSNumber?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func writeAttributeNullableBoolean(withValue value: NSNumber?) async throws
```
