lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hello all!

Help me please.
How in the Lua create small "if-in" statement
e.g.

if method in ('HEAD','GET','POST') then ...

now it's see:

if method =='HEAD' or method=='GET' or method=='POST' then ...

Thanks.