Add ucFirst helper

This commit is contained in:
RaviAnand Mohabir 2021-05-24 16:21:26 +02:00
parent 39c9793a78
commit 941b87d468

3
src/helpers.ts Normal file
View File

@ -0,0 +1,3 @@
export function ucFirst(val: string) {
return val.charAt(0).toUpperCase() + val.slice(1);
}