---
title: "writeAttributeNullableBoolean(withValue:expectedValueInterval:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterunittesting/writeattributenullableboolean(withvalue:expectedvalueinterval:)"
---

# writeAttributeNullableBoolean(withValue:expectedValueInterval:)

## Declaration

```swift
func writeAttributeNullableBoolean(withValue dataValueDictionary: [String : Any], expectedValueInterval expectedValueIntervalMs: NSNumber)
```
