UNPKG

@atlaskit/adf-utils

Version:

Set of utilities to traverse, modify and create ADF documents.

10 lines (9 loc) 327 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.isEmpty = void 0; var isEmpty = exports.isEmpty = function isEmpty(node) { var _node$content; return !(node !== null && node !== void 0 && (_node$content = node.content) !== null && _node$content !== void 0 && _node$content.length); };