Function

hasInsertTextAtCursorAction

Returns whether the node defines a semantics action to insert text on it.

RevenueCat

RevenueCat

Add subscriptions to your apps in minutes

Ad Get started for free

hasInsertTextAtCursorAction

Common
fun hasInsertTextAtCursorAction() = hasKey(SemanticsActions.InsertTextAtCursor)

Returns whether the node defines a semantics action to insert text on it.

This can be used to, for instance, filter out text fields.