package
Node module. typeOf('a string') == 'string', typeOf([]) == 'array', etc.. Also supports named functions detections aka javascript classes
npm install typeofGitHub-flavored package documentation.
Across all versions, last 30 days.
625,311 in 30 days
Runtime metadata.
Tagged topics.
small node.js module that extends functionality of native typeof inspired by Batman.js typeOf util
$ npm install typeofvar typeOf = require('typeof');
console.log(typeOf("a string"));
console.log(typeOf([1, 2, 3, "array"]));
console.log(typeOf(null));"string"
"array"
"null"