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