isBranch of TreeStore, Methods Webix Docs
checks whether the node has any children
boolean isBranch(id id);
id
| boolean | true, if the branch has at least one child, false, if there are no children |
Example
tree.isBranch('branch1');
isBranch of TreeStore, Methods Webix Docs
checks whether the node has any children
boolean isBranch(id id);
id
| boolean | true, if the branch has at least one child, false, if there are no children |
tree.isBranch('branch1');