Module:TableTools: Difference between revisions

Jump to navigation Jump to search
Content added Content deleted
(add getIntersection function)
(add missing ret table)
Line 68: Line 68:
function p.getIntersection(...)
function p.getIntersection(...)
local tables = {...}
local tables = {...}
local vals, ret = {}
local vals, ret = {}, {}
local lim = #tables
local lim = #tables
for _, t in ipairs(tables) do
for _, t in ipairs(tables) do