Search results

110 packages found

M
Q
P

Function argument validation for humans

published 2.0.0 2 months ago
M
Q
P

Enhances a JavaScript class by adding an is<Class> property to compare types between realms.

published 1.1.0 6 years ago
M
Q
P

A tiny javascript type testing tool

published 1.2.1 6 months ago
M
Q
P

Determine the name of a value's constructor.

published 0.2.1 5 months ago
M
Q
P
M
Q
P

Test if a value is a regular expression.

published 0.2.1 5 months ago
M
Q
P

Implement prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.

published 0.2.1 5 months ago
M
Q
P

compare the type of your value with one or several types

published 3.2.3 9 years ago
M
Q
P
M
Q
P

Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)

published 9.3.0 6 months ago
M
Q
P

Validate the type of object's properties.

published 3.1.3 4 years ago
M
Q
P

Workaround for subclassing errors. Both instanceof and stack are functional.

published 0.1.1 9 years ago
M
Q
P

Test whether a value has in its prototype chain a specified constructor as a prototype property.

published 0.2.1 5 months ago
M
Q
P

type-tls 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等

published 3.0.0 3 months ago
M
Q
P

`modern-errors` plugin to execute class-specific logic

published 4.0.0 8 months ago
M
Q
P

Inherit from Error without performance penalties, instanceof behaves as expected and the error stack is correct

published 1.0.3 9 years ago
M
Q
P

Type check values. This is a fork of sindresorhus/is, but with CommonJS support.

published 5.6.0 a year ago
M
Q
P

All values in JavaScript are objects. `typeofObject` gets a value's object type, including custom types.

published 1.1.0 7 years ago
M
Q
P

Function argument validation for humans

published 0.28.1 3 years ago
M
Q
P