Update typecons.d

This commit is contained in:
Andrei Alexandrescu 2018-03-30 10:38:12 -04:00 committed by Sebastian Wilzbach
parent fb73b6209c
commit abdce33502

View file

@ -3445,9 +3445,9 @@ if (is (typeof(nullValue) == T))
/** /**
Unpacks the content of a $(D Nullable), performs an operation and packs it again. Does nothing if isNull. Unpacks the content of a $(D Nullable), performs an operation and packs it again. Does nothing if isNull.
When called on a $(D Nullable), `apply` will unpack the value contained in the $(D Nullable), When called on a `Nullable`, `apply` will unpack the value contained in the `Nullable`,
pass it to the function you provide and wrap the result in another $(D Nullable) (if necessary). pass it to the function you provide and wrap the result in another `Nullable` (if necessary).
If the Nullable is null, `apply` will return null itself. If the `Nullable` is null, `apply` will return null itself.
Params: Params:
t = a `Nullable` t = a `Nullable`