null == "" is true?
Salih Dincer
salihdb at hotmail.com
Fri Jul 15 15:19:02 UTC 2022
On Friday, 15 July 2022 at 11:12:07 UTC, Steven Schveighoffer
wrote:
> Note that the term `null` and `[]` are special tokens that
> morph type to whatever is most appropriate at the time. `null`
> implicitly can be typed as any pointer type, or any array type.
> `[]` can be typed as any array type. However, it can't be
> implicitly typed as `typeof(null)`, which is a special unit
> type.
Thank you. I didn't know what to do with a null array though? I
think void[] would be more useful.
SDB at 79
More information about the Digitalmars-d-learn
mailing list