add lettercase function

This commit is contained in:
andrzej 2024-06-11 19:12:52 +02:00
parent 7d5540a5f9
commit db26cb602c
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)
}