Return to Snippet

Revision: 15428
at July 5, 2009 22:34 by traeregan


Initial Code
function in_table ( e, t )
for _,v in pairs(t) do
if (v==e) then return true end
end
return false
end

Initial URL
http://luanet.net/lua/in_table

Initial Description

                                

Initial Title
in_table / in_array

Initial Tags
table, array

Initial Language
Lua