FluentDOM\Iterators\ElementIterator::hasChildren PHP Method

hasChildren() public method

Check if the current iterator element has children
public hasChildren ( ) : boolean
return boolean
    public function hasChildren()
    {
        return $this->valid() && $this->current() instanceof Element && NULL !== $this->current()->childNodes;
    }