Table of Contents

operator == Operator

Definition

Namespace
Tyne
Assembly
Tyne.Core.dll

Operators

| Edit this page View Source

operator ==(in Result<T, TE>?, in Result<T, TE>?)

Determines whether the left is equal to the right.

Declaration
[Pure]
public static bool operator ==(in Result<T, TE>? left, in Result<T, TE>? right)
Parameters
left
Result<T, TE>

The left-hand Result<T, TE>.

right
Result<T, TE>

The right-hand Result<T, TE>.

Returns
bool

true if left is equal to right; otherwise, false.

Remarks

Equals(Result<T, TE>?) for how Result<T, TE> equality is calculated.