source: node_modules/es-toolkit/dist/string/upperCase.d.mts

Last change on this file 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 upper case.
3 *
4 * Upper case is the naming convention in which each word is written in uppercase and separated by an space ( ) character.
5 *
6 * @param {string} str - The string that is to be changed to upper case.
7 * @returns {string} - The converted string to upper case.
8 *
9 * @example
10 * const convertedStr1 = upperCase('camelCase') // returns 'CAMEL CASE'
11 * const convertedStr2 = upperCase('some whitespace') // returns 'SOME WHITESPACE'
12 * const convertedStr3 = upperCase('hyphen-text') // returns 'HYPHEN TEXT'
13 * const convertedStr4 = upperCase('HTTPRequest') // returns 'HTTP REQUEST'
14 */
15declare function upperCase(str: string): string;
16
17export { upperCase };
Note: See TracBrowser for help on using the repository browser.