$collection->last() Returns the last element kirby/src/Toolkit/Collection.php#L669 $collection->last(): mixed Return type mixed Parent class Kirby\Cms\Collection inherited from Kirby\Toolkit\Collection