• Welcome to the Kancolle Wiki!
  • If you have any questions regarding site content, account registration, etc., please visit the KanColle Wiki Discord

Changes

Jump to navigation Jump to search
no edit summary
Line 141: Line 141:  
     local result = Utils.icopy(arr)
 
     local result = Utils.icopy(arr)
 
     table.sort(result)
 
     table.sort(result)
 +
    return result
 +
end
 +
 +
function Utils.isum(arr, result)
 +
    result = result or 0
 +
    for _, v in ipairs(arr) do
 +
        result = result + (v or 0)
 +
    end
 
     return result
 
     return result
 
end
 
end
cssedit, gkautomate
7,064

edits

Navigation menu