var isNonPrintableKey = function(keyCode) {
  var nonPrintableKeys, modifierKeys, arrowKeys, fKeys;
  modifierKeys = [8, 9, 13, 16, 17, 18, 19, 20, 27, 33, 34, 35, 26, 46, 93];
  arrowKeys = [37, 38, 39, 40, 91, 92];
  fKeys = [112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 144, 145];

  nonPrintableKeys = modifierKeys.concat(arrowKeys).concat(fKeys);

  return nonPrintableKeys.indexOf(keyCode) != -1
};

export { isNonPrintableKey };

var isNonPrintableKey = function(keyCode) {
  var nonPrintableKeys, modifierKeys, arrowKeys, fKeys;
  modifierKeys = [8, 9, 13, 16, 17, 18, 19, 20, 27, 33, 34, 35, 26, 46, 93, 224];
  arrowKeys = [37, 38, 39, 40, 91, 92];
  fKeys = [112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 144, 145];

  nonPrintableKeys = modifierKeys.concat(arrowKeys).concat(fKeys);

  return nonPrintableKeys.indexOf(keyCode) != -1
};

export { isNonPrintableKey };

Update nonprintable keys to include the cmd key
Update nonprintable keys to include the cmd key
