Skip to content

Kirby 4.5.0

$fields->last()

Returns the last element

$fields->last(): mixed

Return type

mixed

Parent class

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