Détail du package

is-js-type

dustinspecker872.7kMIT3.0.0

Is string a JS Type

js, javascript, ecmascript, builtin

readme

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