Skip to content

Kirby 4.5.0

$fields->first()

Returns the first element

$fields->first(): mixed

Return type

mixed

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Collection