$collection->key()
Returns the current key
$collection->key(): stringReturn type
string
Parent class
  Kirby\Toolkit\Collection    inherited from Kirby\Toolkit\Iterator  
Returns the current key
$collection->key(): stringstring
  Kirby\Toolkit\Collection    inherited from Kirby\Toolkit\Iterator