Skip to content

Kirby 4.1.2

$structure->prev()

Moves the cursor to the previous element and returns it

$structure->prev(): mixed|null

Return type

mixed|null

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Iterator