"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isInLayoutColumn = void 0;
var _utils = require("@atlaskit/editor-prosemirror/utils");
var isInLayoutColumn = exports.isInLayoutColumn = function isInLayoutColumn(state) {
  return (0, _utils.hasParentNodeOfType)(state.schema.nodes.layoutSection)(state.selection);
};