wrap
import { wrap } from "https://github.gh-proxy.cn/raw.githubusercontent.com/baetheus/fun/main/sync_either.ts";Wrap a value in a SyncEither as a Right.
@example
import { wrap } from "./sync_either.ts";
const wrapped = wrap("Hello");
const result = wrapped(); // Right("Hello")