npm.io
3.0.0 • Published 2 years ago

is-js-type

Licence
MIT
Version
3.0.0
Deps
1
Size
3 kB
Vulns
0
Weekly
0

is-js-type

NPM version Coverage Status

Code Climate

Is string a JS Type

Uses Sindre Sorhus' js-types

Install

npm install --save is-js-type

Usage

ES2015
import isJsType from 'is-js-type';

isJsType('Array');
// => true

isJsType('Error');
// => true

isJsType('array');
// => false

isJsType('dog');
// => false

LICENSE

MIT Dustin Specker

Keywords