get-internal-class

0.1.1 • Public • Published

Get internal class

Get JS object internal property [[Class]].

NPM Version NPM Downloads Build Status

Install

Install via npm:

npm install --save get-internal-class

Usage

const getClass = require('get-internal-class')

getClass([])   // 'array'
getClass(123)  // 'number'
getClass(null) // 'null'

For more examples, please see tests.

Lisense

MIT

Package Sidebar

Install

npm i get-internal-class

Weekly Downloads

2

Version

0.1.1

License

MIT

Unpacked Size

3.8 kB

Total Files

5

Last publish

Collaborators

  • bbbbx