is-type-of

complete type checking for node

is-type-of

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

From core-util-is

from is-stream

  • Support Long instance.

MIT