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


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


<h2 id="cuttext-label-action">cutText</h2>

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


```kotlin
fun SemanticsPropertyReceiver.cutText(label: String? = null, action: (() -> Boolean)?)
```


Action to cut the text and copy it to the clipboard.

#### Parameters

| | |
| --- | --- |
| label | Optional label for this action. |
| action | Action to be performed when the `SemanticsActions.CutText` is called. |