ts-maybe-monad
TypeScript maybe monad for reaching child fields inside complicated objects.
TypeScript maybe monad for reaching child fields inside complicated objects.
plain implementation of Maybe (Optional, Nullable) monad
Converts empty object,empty array, empty string,NaN,null or undefined into the string "N/A" else return the input as-is
shortcut methods for util.isNullOrUndefined
Redux middleware for wrapping store in a Proxy to help with complex nested states.
An object that will throw an exception if a user tries to access an undefined property
Delete nested key-value pairs on an object with a provided key, or remove undefined, null, empty strings, empty arrays, and empty nested objects from an object.
A webpack loader which disallows importing nonexistent members from a module
一些常用工具方法的集合
This little utility helps in finding null, undefined etc values from objects and arrays.
npm test
Check if a variable is undefined in javascript!
Utilities to determine if string is any of the following null, empty, undefined, NaN, or whitespace.
returns true if its argument is neither null nor undefined.
Checks if the given value is null.
Drops undefined arguments from the end of a function call.
A simple wrapper around an object that will warn when you access keys that aren't defined (using the magic of ES6 Proxies)
Helps you confirm the existence of specified falsy values (e.g. 0)
A runtime assertion for preserving not-null and not-undefined invariants
Micro package to be used with mobx to allow assigning an undefined value to an observable value.