$ cnpm 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
Copyright 2013 - present © cnpmjs.org | Home |