$collection->first()
Returns the first element
$collection->first(): mixed|null
Return types
mixedornull
Parent class
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection
Returns the first element
$collection->first(): mixed|null
mixedornull
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection