Module:Infobox: Difference between revisions

    m>Mr. Stradivarius
    (add a "headerclass" arg per talk page request)
    m>Mr. Stradivarius
    (make union a local function per protected edit request by User:Jackmcbarn)
    Line 11: Line 11:
    local root
    local root
       
       
    function union(t1, t2)
    local function union(t1, t2)
         -- Returns the union of the values of two tables, as a sequence.
         -- Returns the union of the values of two tables, as a sequence.
         local vals = {}
         local vals = {}