istool

Functional helper library with Higher Order Functions.

npm install istool
5 downloads in the last month

istool.js - higher-order functions

npm install istool

usage

var is = require('istool')

functions

equal is.eq
var arr = ['daewon', 'dun'].filter(is.eq('daewon'));
// ['daewon']
not equal is.ne
var arr = ['daewon', 'dun'].filter(is.ne('daewon'));
// ['dun']

http://daewon.github.io/higher-order.js/

npm loves you