maybe-for-sure
A lightweight stream-like maybe/or else monad for typescript. `maybe(val).valueOr(other)` grant you no unexpected undefined and hence allows you to write you TS-code in a more fluid way, skipping some of those if-else nestings.
A lightweight stream-like maybe/or else monad for typescript. `maybe(val).valueOr(other)` grant you no unexpected undefined and hence allows you to write you TS-code in a more fluid way, skipping some of those if-else nestings.
TypeScript library inspired by PureScript
Maybe monad implementation with using of arrays
'probably' => 2, 'maybe' => 1, '' => 0
The Tame optional library enabling the usage of optionals
Library for managing optionals
A stateless implementation of the maybe monad
Functional Programming Utilities and Types, Inspired by Haskell and Elm
Option / Maybe implementation for union-type
Maybe is a type with tow variantes Some and None, can have nothing (None) or some value (Some). The Maybe variable makes it possible to have a something depending on the particular value.
A fantasy-land and static-land compliant library providing interfaces of common type-classes and instances of them.
Functional TypeScript utility types such as Option, Result and others.
TypeScript/JavaScript library of Maybe, Either and Tuple Monads.
useful monads
Douglas Crockford's monad library as UMD/ES6 module
Wrapper monad objects for Typescript and Javascript
A simple wrapper of javascript statement branching that provide safe error handling and test friendly
A monad for values that may not be available or computations that may fail.
Ready to use monads in examples
Get a deeply nested value from an object or undefined if an intermediate key is missing