Skip to content

Kirby 4.4.1

$items->first()

Returns the first element

$items->first(): mixed

Return type

mixed

Parent class

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