add lettercase function
This commit is contained in:
parent
d1c69c9c15
commit
25f8f728c9
|
@ -0,0 +1,3 @@
|
|||
export function letterCase(str: String) {
|
||||
return str.charAt(0).toUpperCase() + str.slice(1)
|
||||
}
|
Loading…
Reference in New Issue