/ Published in: Lua
URL: http://luanet.net/lua/in_table
Expand |
Embed | Plain Text
function in_table ( e, t ) for _,v in pairs(t) do if (v==e) then return true end end return false end
You need to login to post a comment.
