wasReleased

fun wasReleased(key: Key): Boolean

Returns whether key went up since the last edge-consuming step — a latched edge.

Return

true on the first step run for the frame containing the release; false after.

Parameters

key

The Compose key code to test.