DOMNode::hasChildNodes

(PHP 5, PHP 7)

DOMNode::hasChildNodes Checks if node has children

Description

public DOMNode::hasChildNodes ( void ) : bool

This function checks if the node has children.

Return Values

Returns TRUE on success or FALSE on failure.

See Also