Search results
67 packages found
Returns true if an object was created by the `Object` constructor, or Object.create(null).
Type check values
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 the value is an object and not an array or null.
A simple utility to Check the value is number or can convert to a number, for example string ' 123 ' can be converted to 123.
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
A proper typeof that works with primitives, built-in value objects and those from other execution contexts.
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
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 something is a promise
Takes any JavaScript data type or object as an input and returns a string describing the type of the input.
microbs plugin - kind
typyts is a library to safely access nested object.
Coalesce for JavaScript. Returns the first value that is not undefined or null.
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
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.