protected filter_nlastchild ( string $n ) : boolean | ||
$n | string | 1-based index |
Résultat | boolean |
protected function filter_nlastchild($n)
{
if ($this->parent === null) {
return false;
} else {
return $this->parent->childCount(true) - $this->index(false) === (int) $n;
}
}