ResTInequality Operator
Returns true if either value is
IsErr or their unwrapped values are not equal; false otherwise.
AssertEqual(Err<int>() != Err<int>(), true);
AssertEqual(Err<int>() != Ok(42), true);
AssertEqual(Ok(42) != Err<int>(), true);
AssertEqual(Ok(42) != Ok(7), true);
AssertEqual(Ok(42) != Ok(42), false);
Namespace: Orx.Fun.ResultAssembly: Orx.Fun.Result (in Orx.Fun.Result.dll) Version: 1.3.0+344c8bdd6f720ccfb2d8db7c61b76cf02be18f5f
public static bool operator !=(
Res<T> left,
Res<T> right
)
- left ResT
- Lhs of the inequality operator.
- right ResT
- Rhs of the inequality operator.
Boolean