Skip to content

Kirby 4.4.1

$structure->first()

Returns the first element

$structure->first(): mixed

Return type

mixed

Parent class

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