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