not
v0.1.0
Published
Returns the negation of a function
Downloads
1,352,606
Readme
not
Returns the negation of a function
Example
var not = require("not")
, truth = function () { return true }
, lies = function () { return false }
// false true
console.log(not(truth)(), not(lies)())
Installation
npm install not
Contributors
- Raynos