Unwraps the value for the result whose type parameters of are same.
The source result.
The contained value.
expect(mergeOkErr(ok(3))).toStrictEqual(3);expect(mergeOkErr(err(4))).toStrictEqual(4); Copy
expect(mergeOkErr(ok(3))).toStrictEqual(3);expect(mergeOkErr(err(4))).toStrictEqual(4);
Unwraps the value for the result whose type parameters of are same.