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