add lettercase function

This commit is contained in:
andrzej 2024-06-11 19:12:52 +02:00
parent d1c69c9c15
commit 25f8f728c9
1 changed files with 3 additions and 0 deletions

3
src/app/lib/functions.ts Normal file
View File

@ -0,0 +1,3 @@
export function letterCase(str: String) {
return str.charAt(0).toUpperCase() + str.slice(1)
}