Nodejs Event Modifier Check modifiers()

Here you can find the source of modifiers()

Method Source Code

Event.prototype.modifiers = function() {
  if (this.shiftKey || this.metaKey || this.altKey)
    return true;//from   w w w . j  av  a 2 s  .c  o m
  return false;
};