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

# getsignalargumentsinfo

> Retorna uma array table de informações de argumentos a partir da assinatura de um RBXScriptSignal. Ela não retorna valores de argumentos capturados em tempo de execução.

<div className="real-function-page">
  ```lua theme={null}
  getsignalargumentsinfo(signal: RBXScriptSignal): {{Name: string, Type: string}}
  ```

  ## Argumentos

  <ParamField path={"signal"} type={"RBXScriptSignal"} required>
    O RBXScriptSignal cuja event descriptor signature deve ser inspecionada.
  </ParamField>

  ## Retornos

  <ResponseField name={"argumentInfo"} type={"{{Name: string, Type: string}}"}>
    Uma array table em que cada entrada tem strings Name e Type. Se a assinatura não puder ser lida ou não tiver entradas, a função retorna uma única fallback entry com Name definido como arg1 e Type definido como Variant.
  </ResponseField>

  ## Exemplo

  Inspect an RBXScriptSignal signature and print each argument name with its type name.

  ```lua theme={null}
  local ReplicatedStorage = game:GetService("ReplicatedStorage")
  local remote = ReplicatedStorage:FindFirstChild("RemoteEvent")

  if remote then
      for _, argument in ipairs(getsignalargumentsinfo(remote.OnClientEvent)) do
          print(argument.Name, argument.Type)
      end
  end
  ```
</div>
