GE Lua Documentation

Press F to search!

getupvalue

Definition


-- @/=[C]:-1
function getupvalue(...)

Callers

@/lua/common/devUtils.lua
  while true do
    local name, upv = debug.getupvalue(func, i)
    if not name then break end
@/lua/vehicle/powertrain.lua
  while true do
    local ln, lv = debug.getupvalue(M.init, idx)
    if ln ~= nil then
@/lua/vehicle/ai.lua
  while true do
    local name, value = debug.getupvalue(func, i)
    if not name then break end