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