(PHP 5, PHP 7)
DOMNode::hasChildNodes — Checks if node has children
This function checks if the node has children.
Retorna true em caso de sucesso ou false em caso de falha.
true
false