$ npm install not
Returns the negation of a function
var not = require("not")
, truth = function () { return true }
, lies = function () { return false }
// false true
console.log(not(truth)(), not(lies)())
npm install not
© 2010 - cnpmjs.org x YWFE | Home | YWFE