Skip to content

Kirby 4.5.0

$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