English
Appearance
Capitalize the first letter of a string, leaving the rest of the string unchanged.
first letter
string
import { upperFirst } from 'rattail' upperFirst('hello world') // return 'Hello world' upperFirst('rattail') // return 'Rattail'
value