lua-users home
lua-l archive

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


Hello!

How to know to be a key in lua table? Without use pairs/ipairs/next?

a = {a,b,c,d}

a.a => nil, but key "a" present in table!
a.f => nil, but key "f" not in table!

Than differ a.a and a.f??? (a.a - key in the table a, a.f - not)

Thanks.


--
Alexandr