fnctnl
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

fnctnl NPM Package

Functional programming utilities

Either

A value with two possibilities. Left holds an error outcome while Right holds the success outcome. Useful to represent the outcome of a computation that might fail.

export type Either<L, R> = Left<L> | Right<R>;

Package Sidebar

Install

npm i fnctnl

Weekly Downloads

2

Version

1.0.1

License

MIT

Unpacked Size

16.2 kB

Total Files

12

Last publish

Collaborators

  • agmoss