isnotnull
returns true if its argument is neither null nor undefined.
returns true if its argument is neither null nor undefined.
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 few handy javascript utilities for testing variables
LoDash Mixins from Decipher, Inc.
simple function to check if given object is defined and not null, or return optional parameter if its not
A very limited subset of object functions I use every day
Check does the given Javascript Object is a defined.
Check if value is defined
Safe chaining of object properties and functions using ES2015 Proxy.
A minimalistic boilerplate to wait for Custom Elements, or libraries, definition
Clone of PHP's function 'defined'
A logic Utility. Nil is: null or undefined. Make writing node easier, prettier and less error prone. Writes and reads more like prose
tes
Returns whether or not the passed arguments are defined - ie. not undefined
check if javascript properties are defined (with typescript support)
Basic rana router.
2 functions that check if argument is undefined or null
Object.assign that skips any undefined properties from source objects
Check if an identifier is defined
[![example workflow](https://github.com/hansogj/maybe/actions/workflows/build.yml/badge.svg)](https://github.com/hansogj/maybe/actions/workflows/build.yml/badge.svg)