Skip to content

Kirby 4.3.0

$nestcollection->first()

Returns the first element

$nestcollection->first(): mixed

Return type

mixed

Parent class

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