Module

x/functional/mod.ts>factorizeSumType

Common Functional Programming Algebraic data types for JavaScript that is compatible with most modern browsers and Deno.
Latest
function factorizeSumType
import { factorizeSumType } from "https://deno.land/x/functional@v1.3.4/mod.ts";

Parameters

typeName: string
propertyNameListByTag: Record<string, string[]>