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

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

Checks if node matches css query filter ":last"
См. также: match()
protected filter_last ( ) : boolean
Результат boolean
    protected function filter_last()
    {
        if ($this->parent === null) {
            return false;
        } else {
            return $this->parent->childCount(true) - 1 === $this->index(false);
        }
    }
DomNode