Skip to content

Kirby 4.5.0

$items->last()

Returns the last element

$items->last(): mixed

Return type

mixed

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Collection