$nestcollection->key()
Returns the current key
Return type
string
|int
|null
Parent class
Kirby\Cms\NestCollection
inherited from Kirby\Toolkit\Iterator
Returns the current key
string
|int
|null
Kirby\Cms\NestCollection
inherited from Kirby\Toolkit\Iterator