judge-type
0.0.2 • Public • Published
Check datatype.
$ npm install judge-type --save
jt = require('judge-type');
str = 'hello';
num = 100;
jt.isString(str); // true
jt.isString(num); // false
jt.isNumber(str); // false
jt.isNumber(num); // true
Versions
Current Tags
- VersionDownloads (Last 7 Days)
- 0.0.2
0
Version History
Package Sidebar
Install
Weekly Downloads