RecursiveFilterIterator::hasChildren

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

RecursiveFilterIterator::hasChildrenCheck whether the inner iterator's current element has children

說(shuō)明

public RecursiveFilterIterator::hasChildren(): bool

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

參數(shù)

此函數(shù)沒(méi)有參數(shù)。

返回值

true if the inner iterator has children, otherwise false

參見(jiàn)