Skip to content

Kirby 4.3.0

$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