pQuery\DomNode::filter_has PHP Method

filter_has() protected method

Checks if node matches css query filter ":has(s)"
See also: match()
protected filter_has ( string $selector ) : boolean
$selector string
return boolean
    protected function filter_has($selector)
    {
        $s = $this->select((string) $selector, false);
        return is_array($s) && count($s) > 0;
    }
DomNode