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

> Devuelve el current Luau namecall atom almacenado en the current namecall method. La function no toma arguments y devuelve exactly one value. Si the current namecall method existe, the current namecall method es mayor que 0 y the current namecall method es non-null, hace push de esos data como string con string return. En caso contrario hace push de nil. La function no inspecciona arguments, no calcula un method name desde un target object y no llama a ningun metamethod. get_namecall_method es un alias de getnamecallmethod.

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

  ## Alias

  * `get_namecall_method`

  ## Retornos

  <ResponseField name={"method"} type={"string | nil"}>
    Current the current namecall method data string cuando esta presente y non-empty; de lo contrario nil.
  </ResponseField>

  ## Ejemplo

  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>
