Table of Contents

Operator implicit operator

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

implicit operator Maybe<T>(NoneType)

Changes the untyped None into a Maybe<T> of this type containing no value.

public static implicit operator Maybe<T>(Maybe.NoneType _)

Parameters

_ Maybe.NoneType

The untyped absence of a value. It carries no information.

Returns

Maybe<T>

A Maybe<T> containing no value.

Remarks

This is what lets code give None as a result or a value wherever a Maybe<T>, with no name for the type argument.