Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 480 Bytes

README.markdown

File metadata and controls

19 lines (13 loc) · 480 Bytes

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