Closed MangelMaxime closed 8 years ago
How do you check for null and/or undefined value from lua code ?
null
you need to compare to js.null
.
undefined
is the same as nil
Thanks again for your help.
I have others interrogations about the tables etc. Is there a better way to question/discuss then issue because it's potentially not an issue.
Or is there any good samples of implementation or documentation ?
I have others interrogations about the tables etc. Is there a better way to question/discuss then issue because it's potentially not an issue.
I'm happy to answer questions via github issues; this way I can refer others to them.
You can also find me on irc with the same username (on freenode and oftc) if you have a quick question.
Or is there any good samples of implementation or documentation ?
Sorry we're a bit light on documentation. I'm not happy with how lua.vm.js leaks memory via proxys; and solving it may require a full overhaul.
Hello guys, I am trying to test if a node exist or not.
In my page the id
test
doesn't exist but the if is always executed. How do you check fornull
and/orundefined
value from lua code ?