From: Austin Ziegler Date: 2004-10-30T02:43:28+09:00 Subject: Re: true? & false? On Sat, 30 Oct 2004 00:47:31 +0900, Mohammad Khan wrote: > compare this, > a.false? > with > a == false or a.class == FalseClass I'm sorry, but I don't understand why you think you need this latter. foo if (a == false) is sufficient. If you don't like that, then you can do: foo if (FalseClass === a) They're equivalent. I don't really see anything that is added in terms of readability or functionality by adding #true? and #false?. -austin -- Austin Ziegler * halostatue@gmail.com * Alternate: austin@halostatue.ca : as of this email, I have [ 5 ] Gmail invitations