lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]




“or” isn’t quite what is wanted here, is it?  it would (undesirably) catch object.name == false (as opposed to just nil).


Yes, "or" is clearly wrong.  Something like object! -> _CHECKED("object", object) might work.  I'd hoped for a more elegant definition, but, it looks like I fell victim to my own cleverness.

-Sven