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