isobject
Returns true if the value is an object and not an array or null.
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.
👺 weak but accurate type checking that returns a string representation of input's type
Use abbreviations for checking type of given value. Like `kindof(val, 'soa')` to check that value is string, object or array.
Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].
Thin sugar layer on top of `testit` framework, `is-kindof` and `assert`.
You can get the real type of values (i.e. array, null, object, map, set, etc.)
Check type of given javascript value. Support promises, generators, streams, and native types. Built on [kind-of][] lib.
Additional functionality to [kind-of][] type check utility. Support promises, generators, streams, errors.
List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
Base class for easily creating meaningful and quiet by default Error classes with sane defaults and assertion in mind.
Plugin for [minibase][] and [base][], that adds assertion methods - most of [assert-kindof][] methods and built-ins assert module.
how to typeof easily