Difference between revisions of "Module:TableTools"

Jump to navigation Jump to search
remove a variable that I didn't use in the end
en>Mr. Stradivarius
(add a key/value pair intersection function)
en>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

Navigation menu