# table.CollapseKeyValue

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/table.CollapseKeyValue
- **Çeviri tarihi:** 2026-08-05

```lua
table table.CollapseKeyValue( table input )
```

## Açıklama

Anahtar değer yapısı ile bir tablonun çöküşü

## Argümanlar

1.. [Tablo](https://gmod.tr/wiki/table) **Giriş**: Giriş tablosu

## Geri dönüşler

1.. [Tablo](https://gmod.tr/wiki/table): Çıkış tablosu

### Örnek

Örnek kullanım

```lua
local output = table.CollapseKeyValue( {
	{ Key = "mykey1", Value = "myvalue1" },
	{ Key = 123, Value = 1345 },
	{ Key = 1345, Value = "myvalue1" },
} )
```

**Çıkış:**

```lua
local output = {
[ "mykey1" ] = "myvalue1",
	[ 123 ] = 1345,
	[ 1345 ] = "myvalue1",
}
```

- [GMod Wiki ana sayfası](https://gmod.tr/wiki)

---

[Tüm sunucular](https://gmod.tr/) · [GmodTR Launcher](https://gmod.tr/launcher) · [Rehber](https://gmod.tr/rehber) · [GMod Wiki](https://gmod.tr/wiki) · [GmodTR nedir?](https://gmod.tr/hakkinda) · [Sunucu ekle](https://gmod.tr/sunucu-ekle) · [Discord](https://discord.gg/gmodtr)

Kaynak: https://gmod.tr/wiki/table.CollapseKeyValue
