mirror of
https://activitypub.software/TransFem-org/Sharkey.git
synced 2025-08-21 05:44:48 +00: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();
|
||
|
}
|