Skip to content

Kirby 4.2.0

$fields->prev()

Moves the cursor to the previous element and returns it

$fields->prev(): mixed|null

Return type

mixed|null

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Iterator