assert-kindof
Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].
Check native type of value and throw AssertionError if not okey. Clean stack traces. Simplicity. Built on [is-kindof][].
Type check library
Detect kind of file by it's mime type
A very simple "typeof" detection
A native module for effectively validating if a value is type Number.
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.
A very simple "typeof" detection
Base class for easily creating meaningful and quiet by default Error classes with sane defaults and assertion in mind.
Samples for all data types
Good judgment of object type.
Type check values: `is.string('🦄') //=> true`
List of all javascript types. Used and useful for checking, validation, sanitizing and testing. Like isStream, isPromise, isWeakset and etc.
*fastest* tool to get native type of value
small async and sync cutomizable simple type check library
The object validator for TypeScript.
# Setup
Plugin for [minibase][] and [base][], that adds assertion methods - most of [assert-kindof][] methods and built-ins assert module.
Returns true if the value is a number. comprehensive tests.Study from jonschlinkert/is-number
A very thin module to keep your program sane.