to-title-case.js

Methods

inner toTitleCase(string) → {string}

Uppercase the first letter of a string.

Parameters:
Name Type Description
string string

String to be uppercased

Returns:
string -

The string with an uppercased first letter