• 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 76: Line 76:  
end
 
end
 
return false
 
return false
 +
end
 +
 +
function Utils.imax(arr)
 +
    local maxValue
 +
    local maxIndex
 +
for i, v in ipairs(arr) do
 +
if not maxValue or v > maxValue then
 +
maxValue = v
 +
maxIndex = i
 +
end
 +
end
 +
return maxIndex
 
end
 
end
  
cssedit, gkautomate
7,064

edits

Navigation menu