typeof-object

All values in JavaScript are objects. `typeofObject` gets a value's object type, including custom types.


Keywords
object, type, typeof, instance, instanceof, helper, custom, toString, string, class, browser
License
CC0-1.0
Install
npm install typeof-object@1.1.0

Documentation

typeof-object

All values in JavaScript are objects. typeofObject gets a value's object type, including custom types.

install

$ npm instal typeof-object

example

const typeofObject = require('typeof-object')

typeofObject([]) // => 'Array'
typeofObject(Immutable.List()) // => 'List'