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