Module:TableTools: Difference between revisions
From Tardis Wiki, the free Doctor Who reference
remove a variable that I didn't use in the end
(add a key/value pair intersection function) |
(remove a variable that I didn't use in the end) |
||
Line 108: | Line 108: | ||
--]] | --]] | ||
function p.intersection(...) | function p.intersection(...) | ||
local ret, track, pairCounts = {}, {}, {} | local ret, track, pairCounts = {}, {}, {} | ||
local lim = select('#', ...) | local lim = select('#', ...) |