Skip to content

vivianeflowt/devtools-type

Repository files navigation

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:
example

License

MIT

About

developer tool to detect type of value

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published