74 packages found
Returns true if a value exists, false if empty. Works with deeply nested values using object paths.
A small set of functions to check value against a specific type
- type
- check
- guard
- isNumber
- isArray
- isString
- checker
- isFinite
- undefined
- null
- primitive
- isFunction
- function
- isUndefined
Checks if the given value is a window object.
Test if a value is null.
Check if a given value is empty in JS extending his "truthy" and "falsy" nature
Test if a value is a JavaScript primitive.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- valid
- primitive
- string
- number
- null
- undefined
- View more
exists and allExist functions. plain and simple
Check if something exists (e.g. not null || undefined)
This module is small but easy to use. The purpose of this module is to check if a value is a array but if it is not an array it will convert the value into an array.
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
Test if a value is undefined or null.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- undefined
- void
- null
- is
- isundefined
- isnull
- View more
Test if a value is an array-like object containing only null values.
Checks if the given value is null or undefined
Test if a value is an array-like object containing only JavaScript primitives.
Ensure a path doesn't contain null bytes
Coalesce for JavaScript. Returns the first value that is not undefined or null.
Tools for testing against null and undefined values.
Type safe variable checks
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more
Check if `this` is truthy.