PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
inquirer
/
node_modules
/
lodash
/
function
var before = require('./before'); /** * Creates a function that is restricted to invoking `func` once. Repeat calls * to the function return the value of the first call. The `func` is invoked * with the `this` binding and arguments of the created function. * * @static * @memberOf _ * @category Function * @param {Function} func The function to restrict. * @returns {Function} Returns the new restricted function. * @example * * var initialize = _.once(createApplication); * initialize(); * initialize(); * // `initialize` invokes `createApplication` once */ function once(func) { return before(2, func); } module.exports = once;
[-] 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]