ae.utils.typecons

Complements the std.typecons package.

Members

Functions

map
auto map(Nullable!T value)

Apply a function over a Nullable's contents, if it is not null, and return that as a new Nullable. If the argument is null, return a null Nullable.

Meta

License

This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0. If a copy of the MPL was not distributed with this file, You can obtain one at http://mozilla.org/MPL/2.0/.

Authors

Vladimir Panteleev <ae@cy.md>