"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isSelectionEndOfParagraph = void 0;
var isSelectionEndOfParagraph = exports.isSelectionEndOfParagraph = function isSelectionEndOfParagraph(state) {
  return state.selection.$to.parent.type === state.schema.nodes.paragraph && state.selection.$to.pos === state.doc.resolve(state.selection.$to.pos).end();
};