hasChildren

nodeComponents. hasChildren

Source:

Given a node, check whether it has any child nodes in the scene.

Example

$$$
.find('Cubes') // find an element with the name `Cubes`
.hasChildren(); // returns `true` as this node contains many cubes