php8.5
Home/ Manual/ spl / parentiterator/ ParentIterator::hasChildren

ParentIterator::hasChildren

PHP function Edit on GitHub ✎

(PHP 5 >= 5.1.0, PHP 7, PHP 8)

Check whether the inner iterator's current element has children

Description

ParentIterator::hasChildren(): bool

Check whether the inner iterator's current element has children.

Func

Parameters Parameters

Return Values

Success

Source: reference/spl/parentiterator/haschildren.xml · from the official PHP manual (php/doc-en)