Changes
better error message for the set functions
local lim = select('#', ...)
if lim < 2 then
error(lim .. ' argument' .. (lim == 1 and '' or 's') .. " passed too few arguments to 'union' (minimum is 2, received " .. lim .. ')"', 2)
end
local ret, trackArrays = {}, {}
local lim = select('#', ...)
if lim < 2 then
error(lim .. ' argument' .. (lim == 1 and '' or 's') .. " passed too few arguments to 'valueUnion' (minimum is 2, received " .. lim .. ')"', 2)
end
local isNan = p.isNan
local lim = select('#', ...)
if lim < 2 then
error(lim .. ' argument' .. (lim == 1 and '' or 's') .. " passed too few arguments to 'intersection' (minimum is 2, received " .. lim .. ')"', 2)
end
local ret, track, pairCounts = {}, {}, {}
local lim = select('#', ...)
if lim < 2 then
error(lim .. ' argument' .. (lim == 1 and '' or 's') .. " passed too few arguments to 'valueIntersection' (minimum is 2, received " .. lim .. ')"', 2)
end
local isNan = p.isNan
local lim = select('#', ...)
if lim < 2 then
error(lim .. ' argument' .. (lim == 1 and '' or 's') .. " passed too few arguments to 'complement' (minimum is 2, received " .. lim .. ')"', 2)
end
--[[