> ## 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

> Mengembalikan current Luau namecall atom yang disimpan di the current namecall method. Function tidak menerima arguments dan mengembalikan exactly one value. Jika the current namecall method ada, the current namecall method lebih besar dari 0, dan the current namecall method non-null, function push data itu sebagai string dengan string return. Jika tidak, function push nil. Function tidak memeriksa arguments, tidak menghitung method name dari target object, dan tidak memanggil metamethod apa pun. get_namecall_method adalah alias untuk getnamecallmethod.

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

  ## Alias

  * `get_namecall_method`

  ## Return

  <ResponseField name={"method"} type={"string | nil"}>
    Current the current namecall method data string saat ada dan non-empty; jika tidak nil.
  </ResponseField>

  ## Contoh

  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>
