Module:TableTools: Difference between revisions

From the Croc Wiki, the Croc encyclopedia
Jump to navigationJump to search
add type-checking to removeDuplicates
(fix the valueUnion function for NaNs (and make it a lot simpler to boot))
(add type-checking to removeDuplicates)
Line 64:
--]]
function p.removeDuplicates(t)
checkType('removeDuplicates', 1, t, 'table')
local isNan = p.isNan
local ret, exists = {}, {}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu