Search results
271 packages found
use hasNil to traverse chained object properties and check for null or undefined values
Tiny module for setting a default value when a parameter is undefind or null
Check if a given object is null or empty
Wrap the classnames package for better behavior for react16
Some standard guards and exceptions
Safe and simple PHP isset() for JavaScript
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.
Coalesce for JavaScript. Returns the first value that is not undefined or null.
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
Return the first argument that is "!= undefined" (or "!= null", which is the same thing)
Helps you deny the existence of specified truthy values (e.g. 'someString', aParticularObject)
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.
When you need validate the variable data type
A utility function for extracting defined values from an object.
Better error handling for undefined values in nested objects.
- undefined
- null
- null-conditional
- null-conditional operator
- null conditional operator
- undy
- nested object
- nested object retrieval
- nested
Used to check if some of the arguments are null or undefined.