Module:TableTools: Difference between revisions

    m>Mr. Stradivarius
    (add getIntersection function)
    m>Mr. Stradivarius
    (add missing ret table)
    Line 68: Line 68:
    function p.getIntersection(...)
    function p.getIntersection(...)
    local tables = {...}
    local tables = {...}
    local vals, ret = {}
    local vals, ret = {}, {}
    local lim = #tables
    local lim = #tables
    for _, t in ipairs(tables) do
    for _, t in ipairs(tables) do