মডিউল:TableTools: সংশোধিত সংস্করণের মধ্যে পার্থক্য

fix the valueUnion function for NaNs (and make it a lot simpler to boot)
add type-checking to removeDuplicates
৬৪ নং লাইন: ৬৪ নং লাইন:
--]]
--]]
function p.removeDuplicates(t)
function p.removeDuplicates(t)
checkType('removeDuplicates', 1, t, 'table')
local isNan = p.isNan
local isNan = p.isNan
local ret, exists = {}, {}
local ret, exists = {}, {}