inspect-js

inspect-js/which-boxed-primitive

Which kind of boxed JS primitive is this?

JavaScript
7
2
MIT License

This project is a JavaScript module that detects which kind of boxed primitive an object is, returning the constructor name (e.g., 'Boolean', 'Number', 'String', 'Symbol', 'BigInt') for boxed primitives and `null` for unboxed primitives or `undefined` for non-primitive objects. It's designed for developers working with JavaScript who need reliable type detection across different realms/iframes without relying on `instanceof` or mutable properties.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies

Support the repos that depend on this repository

Top contributors

ljharb's profile
ljharb
60 contributions
sinclairzx81's profile
sinclairzx81
1 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet