模块:DeepEnum5

来自希服维基

可在模块:DeepEnum5/doc创建此模块的帮助文档

local p = {}
function p.test()
    if debug == nil then return "debug=nil" end
    local keys = {}
    for k, v in pairs(debug) do
        keys[#keys+1] = k .. "=" .. type(v)
    end
    table.sort(keys)
    return #keys .. " keys: " .. table.concat(keys, ", ")
end
return p