hasSetTextAction

Function

Common
fun hasSetTextAction() = hasKey(SemanticsActions.SetText)

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

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