var successResult = success('some value').map(value => value + ', another value');successResult.orNull(); // produces: "some value, another value"okResult.orElse('definitely this'); // produces: "definitely this" Copy
var successResult = success('some value').map(value => value + ', another value');successResult.orNull(); // produces: "some value, another value"okResult.orElse('definitely this'); // produces: "definitely this"