RichText/Archived/Rooster/Rooster.gcomp/Support/node_modules/roosterjs/dist/rooster-amd.js
/**
 * Returns true when the event was fired from a modifier key, otherwise false
 * @param event The keyboard event object
 */
Returns true when the event was fired from a modifier key, otherwise false
@param event The keyboard event object
Returns true when the event was fired from a modifier key otherwise false @param event The keyboard event object
function isModifierKey(event) {
    var isCtrlKey = event.ctrlKey || event.key === CTRL_CHARCODE;
    var isAltKey = event.altKey || event.key === ALT_CHARCODE;
    var isMetaKey = event.metaKey || event.key === META_CHARCODE;
    return isCtrlKey || isAltKey || isMetaKey;
}
function isModifierKey ( event ) { var isCtrlKey = event . ctrlKey || event . key === CTRL_CHARCODE ; var isAltKey = event . altKey || event . key === ALT_CHARCODE ; var isMetaKey = event . metaKey || event . key === META_CHARCODE ; return isCtrlKey || isAltKey || isMetaKey ; }
Returns true when the event was fired from a modifier key, otherwise false
 @param event The keyboard event object
Returns true when the event was fired from a modifier key otherwise false @param event The keyboard event object