package
Returns the negation of a function
npm install notGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
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