Module:TableTools/sandbox: Difference between revisions

Content deleted Content added
comment: clarify that invert does not support duplicates or NaN values
Tag: Reverted
comment grammar
Tag: Reverted
Line 359:
-- values of the array returns true. For example, {"a", "b", "c"} ->
-- {a = true, b = true, c = true}. NaN values are ignored as Lua considers them
-- never equal to any value (including other NaNs or even itselfthemselves).
------------------------------------------------------------------------------------
function p.listToSet(t)