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

> Trả về một array table chứa thông tin đối số từ chữ ký RBXScriptSignal. Hàm không trả về các giá trị đối số runtime đã được bắt.

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

  ## Đối số

  <ParamField path={"signal"} type={"RBXScriptSignal"} required>
    RBXScriptSignal có event descriptor signature cần được kiểm tra.
  </ParamField>

  ## Giá trị trả về

  <ResponseField name={"argumentInfo"} type={"{{Name: string, Type: string}}"}>
    Một array table trong đó mỗi mục có strings Name và Type. Nếu không thể đọc chữ ký hoặc chữ ký không có mục nào, hàm trả về một fallback entry với Name được đặt thành arg1 và Type được đặt thành Variant.
  </ResponseField>

  ## Ví dụ

  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>
