"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.isEmptyParagraph = isEmptyParagraph;
/**
 * Checks if node is an empty paragraph.
 */
function isEmptyParagraph(node) {
  return !!node && node.type.name === 'paragraph' && !node.childCount;
}