MCPcopy Index your code
hub / github.com/CodeboxIDE/codebox / _isModifier

Function _isModifier

client/vendors/mousetrap.js:582–584  ·  view source on GitHub ↗

* determines if the keycode specified is a modifier key or not * * @param {string} key * @returns {boolean}

(key)

Source from the content-addressed store, hash-verified

580 * @returns {boolean}
581 */
582 function _isModifier(key) {
583 return key == 'shift' || key == 'ctrl' || key == 'alt' || key == 'meta';
584 }
585
586 /**
587 * called to set a 1 second timeout on the specified sequence

Callers 3

_getMatchesFunction · 0.85
_handleKeyFunction · 0.85
_getKeyInfoFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected