Neos\ContentRepository\Domain\Model\Node::hasChildNodes PHP Метод

hasChildNodes() публичный Метод

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
Результат boolean TRUE if this node has child nodes, otherwise FALSE
    public function hasChildNodes($nodeTypeFilter = null)
    {
        return $this->getNumberOfChildNodes($nodeTypeFilter) > 0;
    }
Node