const failureResult = failure('some failure').mapFailure(value => value + ', another failure');failureResult.orNull(); // produces: nullfailureResult.orElse('Not this'); // produces: "some failure, another failure" Copy
const failureResult = failure('some failure').mapFailure(value => value + ', another failure');failureResult.orNull(); // produces: nullfailureResult.orElse('Not this'); // produces: "some failure, another failure"