"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
function triggerToString(t) {
    if (isRegExp(t)) {
        return t.source;
    }
    else if (isProKey(t)) {
        return t.meta.toString() + t.keyCode;
    }
    else {
        return t;
    }
}
exports.triggerToString = triggerToString;
function isRegExp(a) {
    return a.exec !== undefined;
}
exports.isRegExp = isRegExp;
function isProKey(a) {
    return a.meta !== undefined;
}
exports.isProKey = isProKey;
function isString(a) {
    return !isRegExp(a) && typeof a === "string";
}
exports.isString = isString;
//# sourceMappingURL=PiAction.js.map