Test additional content header

OptionTEquality Operator

Compares two Options to determine equality.

Definition

Namespace: Fluent.Calculations.Primitives.BaseTypes
Assembly: Fluent.Calculations.Primitives (in Fluent.Calculations.Primitives.dll) Version: 1.1.0-aplha
public static Condition operator ==(
	Option<T>? left,
	Option<T>? right
)

Parameters

left  OptionT
The value to compare with right.
right  OptionT
The value to compare with left.

Return Value

Condition
Condition instance that represents true if left is equal to right; otherwise, false.

Implements

IEqualityOperatorsTSelf, TOther, TResultEquality(TSelf, TOther)

Remarks

Comparision is based on underlying Enum value.

See Also