capitalize :: String input => String output
Capitalizes the first letter of the input string.
import { capitalize } from 'conductor' capitalize('hello') // 'Hello' capitalize('hello world') // 'Hello world'
Last updated 6 years ago