(code)
| 20 | } |
| 21 | |
| 22 | export function isModifierCode(code) { |
| 23 | const modifierCodes = [ |
| 24 | "AltLeft", |
| 25 | "AltRight", |
| 26 | "ControlLeft", |
| 27 | "ControlRight", |
| 28 | "MetaLeft", |
| 29 | "MetaRight", |
| 30 | "ShiftLeft", |
| 31 | "ShiftRight", |
| 32 | ]; |
| 33 | return modifierCodes.indexOf(code) >= 0; |
| 34 | } |
no outgoing calls
no test coverage detected