"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isEmpty = isEmpty; /** @typedef {import('./types').RichTextValue} RichTextValue */ /** * Check if a Rich Text value is Empty, meaning it contains no text or any * objects (such as images). * * @param {RichTextValue} value Value to use. * * @return {boolean} True if the value is empty, false if not. */ function isEmpty({ text }) { return text.length === 0; } //# sourceMappingURL=is-empty.js.map