is-js-type
v3.0.0
Published
Is string a JS Type
Downloads
781,514
Maintainers
Readme
is-js-type
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