DOMNode::hasChildNodes
(PHP 5, PHP 7, PHP 8)
DOMNode::hasChildNodes —
Checks if node has children
Description
public DOMNode::hasChildNodes():
bool
Parameters
This function has no parameters.
Return Values
Returns true
on success or false
on failure.