Skip to content

Kirby 4.5.0

$segments->prev()

Moves the cursor to the previous element and returns it

$segments->prev(): mixed|null

Return type

mixed|null

Parent class

Kirby\Query\Segments inherited from Kirby\Toolkit\Iterator