[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: How to find out whether there is a specific key for a given Lua table besides traversing the whole table?
- From: 孙世龙 sunshilong <sunshilong369@...>
- Date: Thu, 14 Jan 2021 18:02:01 +0800
How to find out whether there is a specific key for a given Lua table?
I know that traversing the whole table could achieve this goal, but
it's not an efficient method. Is there any better method?