Skip to content

Kirby 4.2.0

$structure->first()

Returns the first element

$structure->first(): mixed

Return type

mixed

Parent class

Kirby\Cms\Structure inherited from Kirby\Toolkit\Collection