Function

hasSetTextAction

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

hasSetTextAction

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

Last updated: