Skip to content

Kirby 4.2.0

$structure->last()

Returns the last element

$structure->last(): mixed

Return type

mixed

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection