KeyEvent.isModifier

bool isModifier()

Extracts whether the key event is for a modifier key.

Returns

true if the event is for a modifier key