mirror of
https://github.com/dlang/phobos.git
synced 2025-05-02 16:10:45 +03:00
Update typecons.d
This commit is contained in:
parent
fb73b6209c
commit
abdce33502
1 changed files with 3 additions and 3 deletions
|
@ -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.
|
||||
|
||||
When called on a $(D Nullable), `apply` will unpack the value contained in the $(D Nullable),
|
||||
pass it to the function you provide and wrap the result in another $(D Nullable) (if necessary).
|
||||
If the Nullable is null, `apply` will return null itself.
|
||||
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 `Nullable` (if necessary).
|
||||
If the `Nullable` is null, `apply` will return null itself.
|
||||
|
||||
Params:
|
||||
t = a `Nullable`
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue