Skip to content

Kirby 4.4.1

$items->key()

Returns the current key

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

Return type

string|int|null

Parent class

Kirby\Cms\Items inherited from Kirby\Toolkit\Iterator