isobject
Returns true if the value is an object and not an array or null.
Found 15 results for kindof
Returns true if the value is an object and not an array or null.
Parse, normalize and validate given semver shorthand (e.g. gulp@v3.8.10) to object.
Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.
Check type of given javascript value. Support promises, generators, streams, and native types. Built on [kind-of][] lib.
👺 weak but accurate type checking that returns a string representation of input's type
Thin sugar layer on top of `testit` framework, `is-kindof` and `assert`.
Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].
Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.
how to typeof easily
List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
Use abbreviations for checking type of given value. Like `kindof(val, 'soa')` to check that value is string, object or array.
Zero-dependency advanced type detection library with TypeScript support, plugin system, and 100% test coverage
Base class for easily creating meaningful and quiet by default Error classes with sane defaults and assertion in mind.
You can get the real type of values (i.e. array, null, object, map, set, etc.)
Plugin for [minibase][] and [base][], that adds assertion methods - most of [assert-kindof][] methods and built-ins assert module.