PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
inquirer
/
node_modules
/
lodash
/
function
/** Used as the `TypeError` message for "Functions" methods. */ var FUNC_ERROR_TEXT = 'Expected a function'; /** * Creates a function that negates the result of the predicate `func`. The * `func` predicate is invoked with the `this` binding and arguments of the * created function. * * @static * @memberOf _ * @category Function * @param {Function} predicate The predicate to negate. * @returns {Function} Returns the new function. * @example * * function isEven(n) { * return n % 2 == 0; * } * * _.filter([1, 2, 3, 4, 5, 6], _.negate(isEven)); * // => [1, 3, 5] */ function negate(predicate) { if (typeof predicate != 'function') { throw new TypeError(FUNC_ERROR_TEXT); } return function() { return !predicate.apply(this, arguments); }; } module.exports = negate;
[-] bind.js
[edit]
[-] throttle.js
[edit]
[-] partial.js
[edit]
[-] flow.js
[edit]
[-] before.js
[edit]
[-] ary.js
[edit]
[-] memoize.js
[edit]
[-] spread.js
[edit]
[+]
..
[-] defer.js
[edit]
[-] delay.js
[edit]
[-] debounce.js
[edit]
[-] once.js
[edit]
[-] modArgs.js
[edit]
[-] restParam.js
[edit]
[-] backflow.js
[edit]
[-] bindAll.js
[edit]
[-] wrap.js
[edit]
[-] rearg.js
[edit]
[-] curry.js
[edit]
[-] bindKey.js
[edit]
[-] curryRight.js
[edit]
[-] partialRight.js
[edit]
[-] negate.js
[edit]
[-] compose.js
[edit]
[-] after.js
[edit]
[-] flowRight.js
[edit]