Type check values: `is.string('🦄') //=> true`
Function argument validation for humans
Define errors without frills, but with stack traces and instanceof support.
Get the type of something. Seriously.
The instanceof mechanism cross package/module versions.
Better 'typeof'. Detects real type of the objects like 'Array()', 'new Number(1)', 'new Boolean(true)', etc.
Check if a value is an error constructor
Validates if a value is a Date object.
Validates if a value is a regular expression.
Variable type comparison
Like instanceof, but uses class name strings.
Determine if a value is an instance of a type
Create mixins which work with instanceof (friendly for unit tests).
Check if the given value is of the particular type or types.
Simple Object type/name checks
Provides functionality for type checking
Additional ESLint rules.
powered by npms.io 🚀