Function InputEvent.isActionReleased

Returns true if the given action is released (i.e. not pressed). Not relevant for events of type InputEventMouseMotion or InputEventScreenDrag.

bool isActionReleased (
  const(String) action
) nothrow @nogc const;