7 lines
118 B
Lua
7 lines
118 B
Lua
function table.find(table, item)
|
|
for k, v in pairs(table) do
|
|
if v == item then
|
|
return(v)
|
|
end
|
|
end
|
|
end |