DOMNode::hasChildNodes

This function checks if the node has children

public function hasChildNodes(): bool;

Return Values

  • bool - - Returns TRUE on success or FALSE on failure.