You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
280 B

4 years ago
  1. /**
  2. * This method returns `false`.
  3. *
  4. * @static
  5. * @memberOf _
  6. * @since 4.13.0
  7. * @category Util
  8. * @returns {boolean} Returns `false`.
  9. * @example
  10. *
  11. * _.times(2, _.stubFalse);
  12. * // => [false, false]
  13. */
  14. function stubFalse() {
  15. return false;
  16. }
  17. module.exports = stubFalse;