---
title: "hasStateDescription"
description: "Returns whether the node's value matches exactly to the given accessibility value."
type: "function"
---

<div class='type'>Function</div>


<a id='references'></a>
<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun hasStateDescription(value: String): SemanticsMatcher
```


Returns whether the node's value matches exactly to the given accessibility value.

#### Parameters

| | |
| --- | --- |
| value | Value to match. |




