Home > harper.js > Linter > toTitleCase
Convert a string to Chicago-style title case. Wraps the function on the BinaryModule by the same name.
Signature:
toTitleCase(text: string): Promise<string>;
|
Parameter |
Type |
Description |
|---|---|---|
|
text |
string |
Returns:
Promise<string>