Table of Contents

Operator operator !=

Namespace
SodaFlow.Functional
Assembly
SodaFlow.Functional.dll

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

Gives true when two instances are different. This negates operator ==(Maybe<T>, Maybe<T>).

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 one contains a value and the other does not, or if the two contain values which are not equal.