[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: 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 19:49:07 +0800
>Simply check if yourtable[yourkey] is nil
This is a Lua script.
How to achieve this goal(i.e the subject) by C api?
On Thu, Jan 14, 2021 at 6:07 PM Luiz Henrique de Figueiredo
<lhf@tecgraf.puc-rio.br> wrote:
>
> Cross-posted to
> https://stackoverflow.com/questions/65716853/how-to-find-out-whether-there-is-a-specific-key-for-a-given-lua-table-besides-tr