mapSecond
import { mapSecond } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/sync_either.ts";Apply a function to the Left value of a SyncEither.
@example
import { mapSecond, left } from "./sync_either.ts";
import { pipe } from "./fn.ts";
const result = pipe(
left("error"),
mapSecond(e => `Error: ${e}`)
);
const value = result(); // Left("Error: error")