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