pQuery\DomNode::filter_hastext PHP Method

filter_hastext() protected method

Checks if node matches css query filter ":has-text"
See also: match()
protected filter_hastext ( ) : boolean
return boolean
    protected function filter_hastext()
    {
        return $this->getPlainText() !== '';
    }
DomNode