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