Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:Core
(view source)
Revision as of 00:19, 14 February 2017
118 bytes added
,
7 years ago
no edit summary
Line 8:
Line 8:
if k_ and v[k_] == v_ or not k_ and v == v_ then
if k_ and v[k_] == v_ or not k_ and v == v_ then
return true
return true
+
end
+
end
+
return false
+
end
+
+
function Utils.ifind(arr, v_)
+
for i, v in ipairs(arr) do
+
if v == v_ then
+
return i
end
end
end
end
がか
cssedit, gkautomate
7,064
edits