Search results
110 packages found
Workaround for subclassing errors. Both instanceof and stack are functional.
Function argument validation for humans
- type
- types
- check
- checking
- guard
- guards
- assert
- assertion
- predicate
- predicates
- is
- validate
- validation
- utility
- 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 封装了与类型相关的工具,比如:获取数据的类型 或 类型名字、判断数据的类型 等
Validate the type of array's items.
Type check values. This is a fork of sindresorhus/is, but with CommonJS support.
Use Instance Of by type name
ECMAScript instanceof operator
`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
Utility library simplifying type detection and comparison.
Inherit from Error without performance penalties, instanceof behaves as expected and the error stack is correct
typyts is a library to safely access nested object.
JavaScript all types detection module (crossbrowser)
All values in JavaScript are objects. `typeofObject` gets a value's object type, including custom types.
A fast, modular oop-inheritance library for javascript. Minimal basics combined with powerful decorators.
A seemless way for organizing multi inheritance.
Better Type Checking
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
Mixin ES6 based classes made easy & simple.