Skip to content

Kirby 4.5.0

$structure->first()

Returns the first element

$structure->first(): mixed

Return type

mixed

Parent class

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