Search results
67 packages found
Type check values
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Get the native type of a value.
Returns true if the value is an object and not an array or null.
Returns true if a number or string value is a finite number. Useful for regex matches, parsing, user input, etc.
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
A proper typeof that works with primitives, built-in value objects and those from other execution contexts.
Returns type of value or object instance. An alternative to typeof operator.
- typeof
- instype
- type-of
- is-type
- is-type-of
- types
- classof
- class-of
- kind
- is-kind
- is-kind-of
- constructor
- instance
- memberof
Tests to see if the prototype property of a constructor appears anywhere in the prototype chain of an value.
- instanceof
- instof
- inst-of
- instance-of
- is-instance
- is-instance-of
- instances
- classof
- class-of
- kind
- is-kind
- is-kind-of
- constructor
- memberof
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
collection of useful TypeScript types
Functions to create, process and test objects, maps, arrays, sets
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
Takes any JavaScript data type or object as an input and returns a string describing the type of the input.
Check if something is a promise
The ts-is-number a utility npm package that checks if a given input is a valid finite number or a string that can be converted to a valid finite number.
`util.inspect` with additional type information
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
typyts is a library to safely access nested object.