"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.toggleHeadingFoldingAction = void 0;
const commands_1 = require("./commands/index.js");
const utils_1 = require("./utils.js");
exports.toggleHeadingFoldingAction = {
    isActive: (state) => (0, utils_1.hasFolding)(state.selection),
    isEnable: commands_1.toggleFoldingOfHeading,
    run: commands_1.toggleFoldingOfHeading,
};
//# sourceMappingURL=actions.js.map
