Skip to content

Kirby 4.2.0

$items->first()

Returns the first element

$items->first(): mixed

Return type

mixed

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Collection