Module:TableTools: Difference between revisions
Content deleted Content added
add type-checking to removeDuplicates |
only allow two or more arguments for the set functions |
||
Line 92:
function p.union(...)
local lim = select('#', ...)
if lim
error(
end
local ret, trackArrays = {}, {}
Line 168:
function p.intersection(...)
local lim = select('#', ...)
if lim
error(
end
local ret, track, pairCounts = {}, {}, {}
Line 254:
function p.complement(...)
local lim = select('#', ...)
if lim
error(
end
--[[
|