Originally Posted by myrroddin
I should point out that checking for 1/nil does not work as per above. If you do find a 1/nil, you will have to check, but there are a few ways.
|
No. A simple "if var then" check will pass if the value of
var is
anything other than
false or
nil. It doesn't matter if it's
true,
9000, a string, a table, a function, etc.