Skip to content

Kirby 4.4.1

$nestcollection->first()

Returns the first element

$nestcollection->first(): mixed

Return type

mixed

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Collection