---
title: "hasImeAction"
description: "Returns whether the node defines the given IME action."
type: "function"
---

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


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


```kotlin
fun hasImeAction(actionType: ImeAction) =
    SemanticsMatcher.expectValue(SemanticsProperties.ImeAction, actionType)
```


Returns whether the node defines the given IME action.

#### Parameters

| | |
| --- | --- |
| actionType | the action to match. |




