Skip to content

Kirby 4.4.1

$fields->first()

Returns the first element

$fields->first(): mixed

Return type

mixed

Parent class

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