node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

fj-typeof

fj-typeof

Build Status npm version

FP-style typeof

Installation

npm install fj-typeof --save

Usage

var typeOf = require('fj-typeof');
 
typeOf('function', typeOf); // => true 
typeOf('string')('foo'); // => true 
typeOf('object')({}); // => true 
typeOf('undefined')(undefined); // => true