capitalize

capitalize :: String input => String output

description

Capitalizes the first letter of the input string.

example

import { capitalize } from 'conductor'

capitalize('hello') // 'Hello'
capitalize('hello world') // 'Hello world'

Last updated