[ nice-Bugs-1096725 ] foo instanceof ?String

"SourceForge.net" <[email protected]> Wed, 05 Jan 2005 13:58:41 -0800
Newsgroups gmane.comp.lang.nice.devel
Message-ID <[email protected]>
Bugs item #1096725, was opened at 2005-01-05 21:57
Message generated for change (Comment added) made by arjanb
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1096725&group_id=12788

Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: mike.beckerle (mbeckerle)
Assigned to: Nobody/Anonymous (nobody)
Summary: foo instanceof ?String

Initial Comment:
Enhancement request:

I'd like to be able to do tests like:

assert (foo instanceof ?String);

which is equivalent to;

assert (foo == null || foo instanceof String);

so the work around is easy, but why not be able to just 
use the ? syntax.



----------------------------------------------------------------------

>Comment By: Arjan Boeijink (arjanb)
Date: 2005-01-05 22:58

Message:
Logged In: YES 
user_id=688815

This makes sense though I'm not sure it's common enough.

(Moved to feature requests)

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=112788&aid=1096725&group_id=12788


-------------------------------------------------------
The SF.Net email is sponsored by: Beat the post-holiday blues
Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek.
It's fun and FREE -- well, almost....http://www.thinkgeek.com/sfshirt