diff options
Diffstat (limited to 'school/node_modules/lodash/stubTrue.js')
-rw-r--r-- | school/node_modules/lodash/stubTrue.js | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/school/node_modules/lodash/stubTrue.js b/school/node_modules/lodash/stubTrue.js new file mode 100644 index 0000000..af3cc9e --- /dev/null +++ b/school/node_modules/lodash/stubTrue.js @@ -0,0 +1,18 @@ +/** + * This method returns `true`. + * + * @static + * @memberOf _ + * @since 4.13.0 + * @category Util + * @returns {boolean} Returns `true`. + * @example + * + * _.times(2, _.stubTrue); + * // => [true, true] + */ +function stubTrue() { + return true; +} + +module.exports = stubTrue; |