Showing 21-40 of 430,567 packages
A robust, ES3 compatible, "has own property" predicate.
Is this value a JS ArrayBuffer?
Which kind of boxed JS primitive is this?
Is this value a JS SharedArrayBuffer?
Asserting type with help of TypeScript compiler
Is this value a JS Typed Array? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
`Object.getOwnPropertyDescriptor`, but accounts for IE's broken implementation.
A simple cache for a few of the JS Error constructors.
A helper to optimistically set Symbol.toStringTag, when possible.
Better assertions for node, reporting the expr, filename, lineno etc
Robustly get the length of a Typed Array
`Object.defineProperty`, but not IE 8's broken one.
Power Assert in JavaScript
Is this value a JS regex? Works cross-realm/iframe, and despite ES6 @@toStringTag
Is this value a JS DataView? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
ES Object-related atoms: Object, ToObject, RequireObjectCoercible
Nanoscale assertion module
Is this value a JS String object or primitive? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
TypeScript definitions for assert
Robustly get the byte offset of a Typed Array