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