"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isSwitchTab = isSwitchTab;
exports.isSwitchFrame = isSwitchFrame;
exports.isSwitchRoot = isSwitchRoot;
function isSwitchTab(step) {
    return step.tab !== undefined;
}
function isSwitchFrame(step) {
    return 'frame' in step && step.frame !== 'root';
}
function isSwitchRoot(step) {
    return 'frame' in step && step.frame === 'root';
}
