Skip to content

Kirby 4.7.0

$iterator->next()

Moves the cursor to the next element and returns it

$iterator->next(): mixed|null

Return type

mixed|null

Parent class

Kirby\Toolkit\Iterator