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