Skip to content

Kirby 4.1.2

$nestcollection->first()

Returns the first element

$nestcollection->first(): mixed

Return type

mixed

Parent class

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