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