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