|
Last change
on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago |
|
Added visualizations
|
-
Property mode
set to
100644
|
|
File size:
443 bytes
|
| Rev | Line | |
|---|
| [a762898] | 1 | /**
|
|---|
| 2 | * Converts the first character of string to lower case.
|
|---|
| 3 | *
|
|---|
| 4 | * @param {string} str - The string that is to be changed
|
|---|
| 5 | * @returns {string} - The converted string.
|
|---|
| 6 | *
|
|---|
| 7 | * @example
|
|---|
| 8 | * const convertedStr1 = lowerCase('fred') // returns 'fred'
|
|---|
| 9 | * const convertedStr2 = lowerCase('Fred') // returns 'fred'
|
|---|
| 10 | * const convertedStr3 = lowerCase('FRED') // returns 'fRED'
|
|---|
| 11 | */
|
|---|
| 12 | declare function lowerFirst(str: string): string;
|
|---|
| 13 |
|
|---|
| 14 | export { lowerFirst };
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.