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