Jump to content

Module:TableTools: Difference between revisions

remove a variable that I didn't use in the end
m>Mr. Stradivarius
(add a key/value pair intersection function)
m>Mr. Stradivarius
(remove a variable that I didn't use in the end)
Line 108: Line 108:
--]]
--]]
function p.intersection(...)
function p.intersection(...)
local differentVals = {} -- A substitute variable to use when we have different values for the same key.
local ret, track, pairCounts = {}, {}, {}
local ret, track, pairCounts = {}, {}, {}
local lim = select('#', ...)
local lim = select('#', ...)
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.