/ Published in: Lua
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
function in_table ( e, t ) for _,v in pairs(t) do if (v==e) then return true end end return false end
URL: http://luanet.net/lua/in_table