mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-09-22 15:11:59 +03:00
4 lines
112 B
TypeScript
4 lines
112 B
TypeScript
|
export function capitalize(s: string): string {
|
||
|
return s.charAt(0).toUpperCase() + s.slice(1).toLowerCase();
|
||
|
}
|