# debug.upvalueid

- **Ortam:** İstemci, Sunucu, Menü
- **İngilizce aslı:** https://wiki.facepunch.com/gmod/debug.upvalueid
- **Çeviri tarihi:** 2025-09-08

```lua
number debug.upvalueid( function func, number index )
```

## Açıklama

> **KALDIRILDI:** Bu fonksiyon, güvenlik endişeleri nedeniyle kaldırılmıştır.

Fonksiyondan (`func`) dizinlenen üst değer (upvalue) için benzersiz bir tanımlayıcı döndürür.

## Argümanlar

1. [function](https://gmod.tr/wiki/function) **func**: Üst değerin (upvalue) dizinleneceği fonksiyon
2. [number](https://gmod.tr/wiki/number) **index**: Fonksiyondan (`func`) gelen dizin

## Döndürülen Değer

1. [number](https://gmod.tr/wiki/number): Benzersiz bir tanımlayıcı

### Örnek

Döndürülen verinin türünü gösteren küçük bir örnek.

```lua
print(type(debug.upvalueid(hook.Add, 1)))
```

**Çıktı:** userdata

- [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/debug.upvalueid
