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.

lowerFirst.js 470B

12345678910111213141516171819202122
  1. var createCaseFirst = require('./_createCaseFirst');
  2. /**
  3. * Converts the first character of `string` to lower case.
  4. *
  5. * @static
  6. * @memberOf _
  7. * @since 4.0.0
  8. * @category String
  9. * @param {string} [string=''] The string to convert.
  10. * @returns {string} Returns the converted string.
  11. * @example
  12. *
  13. * _.lowerFirst('Fred');
  14. * // => 'fred'
  15. *
  16. * _.lowerFirst('FRED');
  17. * // => 'fRED'
  18. */
  19. var lowerFirst = createCaseFirst('toLowerCase');
  20. module.exports = lowerFirst;