Skip to content

Kirby 4.4.1

$iterator->key()

Returns the current key

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

Return type

string|int|null

Parent class

Kirby\Toolkit\Iterator