"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.default = isLeafNode;

// 是否是叶子节点
function isLeafNode(node) {
  return node.children == null || node.children.length === 0;
}