node package manager
Easy sharing. Manage teams and permissions with one click. 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