mirror of
https://github.com/sern-handler/website
synced 2026-06-17 05:12:21 +00:00
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