lhl 6ff0e96ad3 8-4-1 | 1 year ago | |
---|---|---|
.. | ||
History.md | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
index.js | 1 year ago | |
package.json | 1 year ago |
complete type checking for node, extend core-util-is
dependencies:
npm install is-type-of
var is = require('is-type-of');
is.array([1]); // => true
is.primitive(true); // => true
is.primitive({}); // => false
is.generatorFunction(function * () {}); // => true
is.long(Math.pow(2, 33)); // => true
is.double(0); // => false
MIT