$iterator->key() Returns the current key kirby/src/Toolkit/Iterator.php#L44 $iterator->key(): string|int|null Return type string|int|null Parent class Kirby\Toolkit\Iterator