Ohm-Management - Projektarbeit B-ME
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.

stubTrue.js 272B

123456789101112131415161718
  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. */
  14. function stubTrue() {
  15. return true;
  16. }
  17. module.exports = stubTrue;