check variable for undefinedness

Dfr deflexor at yandex.ru
Thu Dec 26 01:21:38 PST 2013


In Javascript there is 'undefined', i can do something like:

var a;
if(a === undefined) {  a = [1,2,3] }

How such check can be done in D ?


More information about the Digitalmars-d-learn mailing list