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

/get-internal-class/

    Package Sidebar

    Install

    npm i get-internal-class

    Weekly Downloads

    0

    Version

    0.1.1

    License

    MIT

    Unpacked Size

    3.8 kB

    Total Files

    5

    Last publish

    Collaborators

    • bbbbx