judge-type

0.0.2 • Public • Published

Judge Type

Check datatype.

Install

$ npm install judge-type --save

Usage

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

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    0
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    0
  • 0.0.1
    0

Package Sidebar

Install

npm i judge-type

Weekly Downloads

0

Version

0.0.2

License

MIT

Last publish

Collaborators

  • gungungggun