PageRenderTime 24ms CodeModel.GetById 19ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/node_modules/lodash/stubTrue.js

https://bitbucket.org/coleman333/smartsite
JavaScript | 18 lines | 4 code | 1 blank | 13 comment | 0 complexity | b30ca2a3d73f7be89d67412f2c11410d MD5 | raw file
 1/**
 2 * This method returns `true`.
 3 *
 4 * @static
 5 * @memberOf _
 6 * @since 4.13.0
 7 * @category Util
 8 * @returns {boolean} Returns `true`.
 9 * @example
10 *
11 * _.times(2, _.stubTrue);
12 * // => [true, true]
13 */
14function stubTrue() {
15  return true;
16}
17
18module.exports = stubTrue;