Table of Contents

Operator operator ==

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

operator ==(Maybe<T>, Maybe<T>)

Gives true when two instances contain equal values, or the two contain none.

public static bool operator ==(Maybe<T> x, Maybe<T> y)

Parameters

x Maybe<T>

The first instance.

y Maybe<T>

The second instance.

Returns

bool

true if the two contain no value, or the two contain values which Default considers equal.