Added funcs file for random functions

This commit is contained in:
2024-02-16 12:36:17 +01:00
parent 0747287fd6
commit 3e0bb040ed

View File

@@ -0,0 +1,3 @@
export function capitalizeFirstLetter(str: string): string {
return str[0].toUpperCase() + str.slice(1).toLowerCase()
}