Skip to content

Kirby 4.4.1

$nestcollection->key()

Returns the current key

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

Return type

string|int|null

Parent class

Kirby\Cms\NestCollection inherited from Kirby\Toolkit\Iterator