(PHP 5, PHP 7, PHP 8)
DOMNode::hasChildNodes — Checks if node has children
This function checks if the node has children.
This function has no parameters.
Returns true on success or false on failure.
true
false