Changes

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