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
Returns:
- Returns whether the node has any children.
- Type
- boolean