is-js-type
Is string a JS Type
Last updated 2 years ago by dustinspecker .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install is-js-type 
SYNC missed versions from official npm registry.

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

Current Tags

  • 3.0.0                                ...           latest (2 years ago)

3 Versions

  • 3.0.0                                ...           2 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.0                                ...           10 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (1)
Dev Dependencies (5)

Copyright 2013 - present © cnpmjs.org | Home |