|
Simply check if yourtable[yourkey] is nilThis 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