Keymap.getNumLockState

bool getNumLockState() nothrow

Returns whether the Num Lock modifer is locked.

Returns

true if Num Lock is on