Module:TableTools: Difference between revisions
Jump to navigation
Jump to search
m>Mr. Stradivarius add getIntersection function |
m>Mr. Stradivarius 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 |