map
import { map } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/fn_either.ts";Map over the right return value of a FnEither.
@example
import * as FE from "./fn_either.ts";
import { pipe } from "./fn.ts";
const result = pipe(
FE.id<number>(),
FE.map(n => n + 1),
)(0); // Right(1)