Maps the right value if present with the mapping function.
map(right(1), num => num + 1) === right(2)map(left("error"), num => num + 1) === left("error")
Generated using TypeDoc
Maps the right value if present with the mapping function.
Example