$structure->first()
Returns the first element
$structure->first(): StructureObject|null
Return types
Kirby\Cms\StructureObjectornull
Parent class
Kirby\Cms\Structure
inherited from Kirby\Toolkit\Collection
Returns the first element
$structure->first(): StructureObject|null
Kirby\Cms\StructureObjectornull
Kirby\Cms\Structure
inherited from Kirby\Toolkit\Collection