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)
Previous text:
2003-01-22 16:22: Subject: Re: zero_type() & UNDEFINED and _typeof()
On Wed, Jan 22, 2003 at 04:15:02PM +0100, David Hedbor @ Pike developers forum wrote:
This is EXACTLY what zero_type is there to solve. I.e use:
Except that name zero_type() isn't as clear as undefined(), for instance...
Regards, /Al
/ Brevbäraren