Difference between revisions of "Module:TableTools"

Jump to navigation Jump to search
no edit summary
en>Pppery
(Implementing merger with Module:Table)
en>Pppery
Line 304: Line 304:
]]
]]
function p.sortedPairs(t, keySort)
function p.sortedPairs(t, keySort)
local check = _check('keysToList')
checkType('sortedPairs', 1, t, 'table')
checkType('sortedPairs', 1, t, 'table')
checkType('sortedPairs', 2, keySort, 'function', true)
checkType('sortedPairs', 2, keySort, 'function', true)
Anonymous user

Navigation menu