ResAnd Method

Combines two results: this and other as follows:
  • returns Ok if both are Ok;
  • returns the error if one of the results is an Err;
  • returns the combined error if both results are Err.

Definition

Namespace: Orx.Fun.Result
Assembly: Orx.Fun.Result (in Orx.Fun.Result.dll) Version: 1.3.0+344c8bdd6f720ccfb2d8db7c61b76cf02be18f5f
C#
public Res And(
	Res other
)

Parameters

other  Res
Other result to combine with.

Return Value

Res

See Also