var isEscape = function (event) {
    return event.code === 'Escape' ||
        event.code === 'Esc' ||
        // eslint-disable-next-line no-magic-numbers
        event.keyCode === 27;
};
export default isEscape;
//# sourceMappingURL=isEscape.js.map