Skip to content

Kirby 4.4.1

$iterator->prev()

Moves the cursor to the previous element and returns it

$iterator->prev(): mixed|null

Return type

mixed|null

Parent class

Kirby\Toolkit\Iterator