Check if node has children

is there a function that returns a boolean to check if a node has children?

No, but is easy to know if a node have children or not:

const hasChildren = this.node.children.length > 0;

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.