Neos\ContentRepository\Domain\Model\Node::hasChildNodes PHP Method

hasChildNodes() public method

Checks if this node has any child nodes.
public hasChildNodes ( string $nodeTypeFilter = null ) : boolean
$nodeTypeFilter string If specified, only nodes with that node type are considered
return boolean TRUE if this node has child nodes, otherwise FALSE
    public function hasChildNodes($nodeTypeFilter = null)
    {
        return $this->getNumberOfChildNodes($nodeTypeFilter) > 0;
    }
Node