source: node_modules/es-toolkit/dist/string/lowerCase.d.ts@ a762898

Last change on this file since a762898 was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 698 bytes
Line 
1/**
2 * Converts a string to lower case.
3 *
4 * Lower case is the naming convention in which each word is written in lowercase and separated by an space ( ) character.
5 *
6 * @param {string} str - The string that is to be changed to lower case.
7 * @returns {string} - The converted string to lower case.
8 *
9 * @example
10 * const convertedStr1 = lowerCase('camelCase') // returns 'camel case'
11 * const convertedStr2 = lowerCase('some whitespace') // returns 'some whitespace'
12 * const convertedStr3 = lowerCase('hyphen-text') // returns 'hyphen text'
13 * const convertedStr4 = lowerCase('HTTPRequest') // returns 'http request'
14 */
15declare function lowerCase(str: string): string;
16
17export { lowerCase };
Note: See TracBrowser for help on using the repository browser.