With npm:
npm install devtools-type
With yarn:
yarn add devtools-type
const type = require('devtools-type')
console.log(type.typeOf('hello world'))
console.log(type.typeOf({}))
console.log(type.typeOf([]))
console.log(type.is.string('123'))
console.log(type.is.string(1))
console.log(type.isNot.string(1))
MIT