$collection->last()
Returns the last element
$collection->last(): mixed|null
Return types
mixedornull
Parent class
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection
Returns the last element
$collection->last(): mixed|null
mixedornull
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection