> ## Documentation Index
> Fetch the complete documentation index at: https://docs.projectreal.gg/llms.txt
> Use this file to discover all available pages before exploring further.

# getnamecallmethod

> the current namecall method icinde saklanan current Luau namecall atom degerini dondurur. Function arguments almaz ve exactly one value dondurur. the current namecall method varsa, the current namecall method 0'dan buyukse ve the current namecall method non-null ise, bu data string return ile string olarak push edilir. Aksi halde nil push edilir. function arguments incelemez, target object uzerinden method name hesaplamaz ve herhangi bir metamethod cagirmaz. get_namecall_method, getnamecallmethod icin alias olarak kayitlidir.

<div className="real-function-page">
  ```lua theme={null}
  getnamecallmethod(): string | nil
  ```

  ## Aliaslar

  * `get_namecall_method`

  ## Dönüşler

  <ResponseField name={"method"} type={"string | nil"}>
    Mevcut ve non-empty oldugunda current the current namecall method data string; aksi halde nil.
  </ResponseField>

  ## Örnek

  Read the current L->namecall string when Real is inside namecall handling.

  ```lua theme={null}
  local method = getnamecallmethod()
  print(method)

  local aliasMethod = get_namecall_method()
  print(aliasMethod)
  ```
</div>
