$collection->first()
Returns the first element
$collection->first(): TValue
Return type
TValue
Parent class
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection
Returns the first element
$collection->first(): TValue
TValue
Kirby\Cms\Collection
inherited from Kirby\Toolkit\Collection