$segments->first()
Returns the first element
$segments->first(): mixed
Return type
mixed
Parent class
Kirby\Query\Segments
inherited from Kirby\Toolkit\Collection
Returns the first element
$segments->first(): mixed
mixed
Kirby\Query\Segments
inherited from Kirby\Toolkit\Collection