Module: to-title-case

to-title-case.js

Source:
utils/to-title-case.js

Methods


<inner> toTitleCase(string)

Uppercase the first letter of a string.

Parameters:
Name Type Description
string string

String to be uppercased

Source:
utils/to-title-case.js
Returns:

The string with an uppercased first letter

Type
string