Flatten two levels of Nullable.
If value is not null, return its contents. If value is null, set it to defaultValue and return it. Similar to object.require for associative arrays, and Rust's Option::get_or_insert.
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/.
Complements the std.typecons package.