inspect-js
Does the current JS environment have strict mode? ES5+ should; but let's not assume.
published 1.0.1 3 years agoDetermine if the JS environment has Symbol support. Supports spec, or shams.
published 1.0.3 2 years agoDetermine if the JS environment has template literal support.
published 1.0.1 3 years agoDetermine if the JS environment has `Symbol.toStringTag` support. Supports spec, or shams.
published 1.0.2 3 months agoReturns true if a value has the characteristics of a valid JavaScript accessor descriptor.
published 3.0.5 6 months agoIs this an arguments object? It's a harder question than you think.
published 1.1.1 3 years agoDetermine if a function is an ES6 arrow function or not.
published 2.0.3 9 years agoDetermine if a function is a native async function.
published 2.0.0 2 years agoIs this value a JS Boolean? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
published 1.1.2 3 years agoIs this value a boxed primitive? Shim for node's util.isBoxedPrimitive.
published 1.0.1 3 years agoIs this JS value callable? Works with Functions and GeneratorFunctions, despite ES6 @@toStringTag.
published 1.2.7 2 years agoReturns true if a value has the characteristics of a valid JavaScript data descriptor.
published 2.1.3 6 months agoIs this value a JS DataView? This module works cross-realm/iframe, does not depend on `instanceof` or mutable properties, and despite ES6 Symbol.toStringTag.
published 1.0.1 3 months agoIs this value a JS Date object? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
published 1.0.5 3 years agoReturns true if a value has the characteristics of a valid JavaScript descriptor. Works for data descriptors and accessor descriptors.
published 3.1.1 6 months agoIs this value a JS FinalizationRegistry? This module works cross-realm/iframe, and despite ES6 @@toStringTag.
published 1.0.2 3 years agoDetermine if a function is a native generator function.
published 1.0.10 3 years ago