ISA - dependency-free very minimal collection of IsA.. functions
isa is an extremely small library providing helper functions for type checking.
Underscore and lodash can be proven too huge and bloated if you only need service like this.
The size of this package is: 1700 bytes.
Usage
Rules
Usage
Command line:
npm install isa.js --save
In JS code:
var _ = require('isa.js');
...
_.isFunction( function(){} );
Services:
isArray, isObject, isError, isNumber, isDate, isFunction, isAsyncFunction, isBoolean, isString, isRegExp
Extras:
pick, walk, isValidPath