RecursiveIterator::hasChildren
PHP function
Edit on GitHub ✎
(PHP 5 >= 5.1.0, PHP 7, PHP 8)
Returns if an iterator can be created for the current entry
Description
RecursiveIterator::hasChildren(): bool
Returns if an iterator can be created for the current entry. RecursiveIterator::getChildren.
Parameters Parameters
Return Values
Returns true if the current entry can be iterated over, otherwise returns false.