BUG
aijinhui
2024-03-26 0789e8546f8b5e68590e5ad7f4eb1d5c54e6cc22
1
2
3
4
5
6
7
8
module.exports = {
    hasNoChildren: function(node) {
        return !node || !node.children || node.children.isEmpty();
    },
    isNodeChildrenList: function(node, list) {
        return node !== null && node.children === list;
    }
};