OptionPropagateShortcut<T> extension

Provides the ~ shortcut for functions that return Option to allow propagating unwrapped None values up the call stack.

See: OptionPropagateShortcut.~

on

Operators

operator ~() Option<T>

Available on Option<T> Function(), provided by the OptionPropagateShortcut extension

Executes the prefixed function, propagating any unwrapped None() values to the return value of the function.