Well, it isn't that unreasonable to add a new function undefined() that is implemented as (zero_type(x) == 1). It's common that people don't check the exact zero type. That's almost never a problem but it can easily become too much of a habit, which occasionally has led to bugs.
/ Martin Stjernholm, Roxen IS
Previous text:
2003-01-22 16:25: Subject: Re: zero_type() & UNDEFINED and _typeof()
But zero_type() doesn't answer the question undefined or not, but returns the type of zero that the argument has. E.g. if zero_type() returns 2 that means that you have a destructed object in your variable. It is very much defined.
/ Martin Nilsson (Åskblod)