Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/fun/sync_either.ts>fromEither

A collection of algebraic data types, lenses, and schemables based on a light weight higher kinded type implementation. Written for deno.
Go to Latest
function fromEither
import { fromEither } from "https://deno.land/x/fun@v2.0.0-alpha.6/sync_either.ts";

Type Parameters

optional
A = never
optional
B = never

Parameters

ta: E.Either<B, A>

Returns

SyncEither<B, A>