Skip to content

Kirby 4.5.0

$nestcollection->last()

Returns the last element

$nestcollection->last(): mixed

Return type

mixed

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection