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