Search results
273 packages found
Clean objects recursively, deleting undefined & null or falsy properties
A safe way to access values in deeply nested objects.
A utility to determine if a value is undefined
Validate the type of object's properties.
use hasNil to traverse chained object properties and check for null or undefined values
exists and allExist functions. plain and simple
Check if a given object is null or empty
Tiny module for setting a default value when a parameter is undefind or null
Wrap the classnames package for better behavior for react16
Some standard guards and exceptions
A collection of useful utility functions with associated TypeScript types. All functions have been unit tested.
- TypeScript
- isNullOrUndefined
- isEmpty
- isEqual
- isNumber
- randomNumberBetweenRange
- random number between range
- asyncForEach
- async for each
- delay
- convertTimeUnits
- convert time units
- getToday
- setEndOfDay
- View more
A logic Utility. Nil is: null or undefined. Make writing node easier, prettier and less error prone. Writes and reads more like prose
Validate the type of array's items.
Check if the given value is of a specific type.
- check
- type
- typeof
- isArray
- isNumber
- isObject
- isNull
- isUndefined
- isNil
- isBoolean
- isString
- array
- number
- object
- View more
Coalesce for JavaScript. Returns the first value that is not undefined or null.
Helps you deny the existence of specified truthy values (e.g. 'someString', aParticularObject)
Return the first argument that is "!= undefined" (or "!= null", which is the same thing)
Test if a value is undefined.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- undefined
- void
- is
- isundefined
- isvoid
- type
- View more
I'm Mr. Meeseeks! Look at me! I can get any nested value for you from the most complex objects.
A utility function for extracting defined values from an object.