Compose Unstyled 2.0 is out! Check the official announcement blog ->
Function

hasInsertTextAtCursorAction

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

hasInsertTextAtCursorAction

Source set: 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.

Last updated: