import { fn_either } from "https://deno.land/x/fun@v2.0.0/mod.ts";
const { join } = fn_either;
Flatten nested FnEithers with the same input and left types.
Examples
Example 1
Example 1
import * as FE from "./fn_either.ts";
import { pipe } from "./fn.ts";
const result = pipe(
FE.right(FE.right(1)),
FE.join,
)(null); // Right(1)