Module:Arguments: Difference between revisions

No edit summary
Tag: Reverted
m Reverted edits by Shia.k (talk) to last revision by Yosef Ben Melamed
Tag: Rollback
Line 326: Line 326:
local function inext(t, i)
local function inext(t, i)
-- This uses our __index metamethod
-- This uses our __index metamethod
local v = t[i + 1]
local v = t[i + 1]
if v ~= nil then
if v ~= nil then
return i + 1, v
return i + 1, v