Skip to main content
Module

x/fun/either.ts>stringifyJSON

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 stringifyJSON
import { stringifyJSON } from "https://deno.land/x/fun@v2.0.0-alpha.10/either.ts";

Parameters

u: unknown
onError: (reason: unknown) => E

Returns

Either<E, string>