is-js-type

3.0.0 • Public • Published

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

Package Sidebar

Install

npm i is-js-type

Weekly Downloads

197,609

Version

3.0.0

License

MIT

Unpacked Size

3.1 kB

Total Files

4

Last publish

Collaborators

  • dustinspecker