56 packages found
Get the native type of a value.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Type check values
Returns true if the value is an object and not an array or null.
A proper typeof that works with primitives, built-in value objects and those from other execution contexts.
Check if something is a promise
typyts is a library to safely access nested object.
Determine if an ndarray data type can be safely cast to, or is of the same kind as, another ndarray data type.
List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
- bool
- boolean
- buffer
- check
- checking
- error
- is
- is-boolean
- is-buffer
- is-error
- is-promise
- is-stream
- json
- kind
- View more
Functions to create, process and test objects, maps, arrays, sets
microbs plugin - kind
Coalesce for JavaScript. Returns the first value that is not undefined or null.
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
A thin wrapper for fs to group files by type
Good judgment of object type.
Minimal JavaScript type checking library
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
Returns true if the value is a number. comprehensive tests.Study from jonschlinkert/is-number
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.