Skip to content

Kirby 4.5.0

$fields->key()

Returns the current key

$fields->key(): string|int|null

Return type

string|int|null

Parent class

Kirby\Form\Fields inherited from Kirby\Toolkit\Iterator