map
import { map } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/sync_either.ts";Apply a function to the Right value of a SyncEither.
@example
import { map, right } from "./sync_either.ts";
import { pipe } from "./fn.ts";
const result = pipe(
right(5),
map(n => n * 2)
);
const value = result(); // Right(10)