package
Is string a JS Type
npm install is-js-typeGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Is string a JS Type
Uses Sindre Sorhus' js-types
npm install --save is-js-typeimport isJsType from 'is-js-type';
isJsType('Array');
// => true
isJsType('Error');
// => true
isJsType('array');
// => false
isJsType('dog');
// => falseMIT © Dustin Specker
Estimated unpacked size across 2 packages.
6.2 kB
Includes dependencies.