Start native apps faster with the Composables CLI ->
Function

canShowCopyMenuItem

Whether a copy operation can execute now and modify the clipboard.

canShowCopyMenuItem

Source set: Common
fun canShowCopyMenuItem(): Boolean

Whether a copy operation can execute now and modify the clipboard. The copy operation requires the selection to not be collapsed, and the text field to NOT be a password.