itype

3.0.1 • Public • Published

iType License NPM version Dependency Status Build Status Coverage Status

Improved type check.

Install

npm i itype --save

How to use?

const itype = require('itype');
 
console.og(itype.string('hello'))
// returns
true
 
console.log(itype('world'));
// returns
'string'
 
console.log(itype.array([1, 2]));
// returns
true

License

MIT

Package Sidebar

Install

npm i itype

Weekly Downloads

227

Version

3.0.1

License

MIT

Unpacked Size

4.97 kB

Total Files

5

Last publish

Collaborators

  • coderaiser