Trouble checking for null-ness

Adam D. Ruppe via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Mon Jul 25 06:17:48 PDT 2016


On Monday, 25 July 2016 at 13:09:22 UTC, Bahman Movaqar wrote:
> From what I could gather, it's not possible to check for `null` 
> at
> runtime for reference based types.  Am I right?

No, it is only possible to check for null for reference based 
types. But map's result is not a reference based type.


More information about the Digitalmars-d-learn mailing list