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


<a id='references'></a>


<h2 id="hastesttag-testtag">hasTestTag</h2>

<div class='sourceset sourceset-common'>Common</div>


```kotlin
fun hasTestTag(testTag: String): SemanticsMatcher
```


Returns whether the node is annotated by the given test tag.

#### Parameters

| | |
| --- | --- |
| testTag | Value to match. |