OptionFlatten<T> extension

Provides the flatten() method to Option type values that hold another Option.

on

Methods

flatten() Option<T>

Available on Option<Option<T>>, provided by the OptionFlatten extension

Flattens a nested Option type value one level.