Defined Packages

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.

1.4.3 • Published 2 years ago

objdefined

simple function to check if given object is defined and not null, or return optional parameter if its not

0.0.1 • Published 10 years ago