$segments->last() Returns the last element kirby/src/Toolkit/Collection.php#L676 $segments->last(): mixed Return type mixed Parent class Kirby\Query\Segments inherited from Kirby\Toolkit\Collection