Skip to content

Kirby 6.0.0

$lazyCollection->first()

Returns the first element

$lazyCollection->first(): mixed|null

Return types

mixedornull

Parent class

Kirby\Cms\LazyCollection