|
|
||
|
2. Something really weird: I also need something (an __eq meta-method?) which would catch implicit comparison with nil (or false) like this:
if t then print "t is not nil" else print "t is nil" end
I need to be able to simulate nil (or false) value here when t is a meta-tabled table.
if not t.isAlive then ... end
Happy New Year!