devtools-type
v0.2.1
Published
tool for developers detect type of value
Downloads
7
Maintainers
Readme
devtools - type - developer tool to detect type of value
Install
With npm:
npm install devtools-type
With yarn:
yarn add devtools-type
Usage
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))
Result:
License
MIT