Search results
110 packages found
Type check values
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- View more
A tiny javascript type testing tool
Determine the name of a value's constructor.
Test if a value is a regular expression.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- valid
- validate
- regular expression
- regexp
- regex
- is
- View more
Additional ESLint rules.
Check if a value is an `Error` instance
- browser
- cross-realm
- dom
- error
- error-handle
- error-handler
- error-handlers
- error-handling
- error-monitoring
- error-reporting
- errors
- exception
- exception-handling
- instanceof
- View more
Utilities to get and check variable types (isString, isPlainObject, isRegExp, etc)
- array
- assert
- assertion
- async
- async function
- async-function
- asyncFunction
- bool
- boolean
- browser
- check
- check-type
- checking
- class
- View more
Lightweight library for determining types of variables based on battle-tested implementation from lodash but having a fraction of overall size.
Additional ESLint rules.
Implement prototypical inheritance by replacing the prototype of one constructor with the prototype of another constructor.
- stdlib
- stdutils
- stdutil
- utilities
- utility
- utils
- util
- prototype
- inherit
- inherits
- class
- oop
- object-oriented
- inheritance
- View more
Test whether a value has in its prototype chain a specified constructor as a prototype property.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- prototype
- proto
- inherit
- inherits
- class
- oop
- View more
type-tls 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等
`modern-errors` plugin to execute class-specific logic
- catch
- class
- classes
- errors
- inheritance
- instanceof
- javascript
- library
- mapping
- message
- modern-errors
- modern-errors-plugin
- nodejs
- plugins
- View more
Test if an object's prototype chain contains a provided prototype.
- stdlib
- stdassert
- assertion
- assert
- utilities
- utility
- utils
- util
- prototype
- proto
- inherit
- inherits
- class
- oop
- View more
Enhances a JavaScript class by adding an is<Class> property to compare types between realms.
Additional ESLint rules.
Additional ESLint rules.
Minimal JavaScript type checking library