Anonymous

Module:FunList: Difference between revisions

From Melvor Idle
no edit summary
No edit summary
No edit summary
Line 254: Line 254:
assert(predicate)
assert(predicate)
     local result = {}
     local result = {}
     for k, v in pairs(tbl) do
     for k, v in pairs(self.mytable) do
         if predicate(v) then
         if predicate(v) then
         result[k] = v
         result[k] = v
2,875

edits