pQuery\DomNode::filter_lasttype PHP Метод

filter_lasttype() защищенный Метод

Checks if node matches css query filter ":last-of-type"
См. также: match()
protected filter_lasttype ( ) : boolean
Результат boolean
    protected function filter_lasttype()
    {
        if ($this->parent === null) {
            return false;
        } else {
            return count($this->parent->getChildrenByTag($this->tag, 'total', false)) - 1 === $this->typeIndex();
        }
    }
DomNode