titleCase
titleCase(target)
Converts target
string to Title Case format.
ts
titleCase("hello world"); // "Hello World"
titleCase("hello-world"); // "Hello World"
ts
pipe("hello world", titleCase()); // "Hello World"
pipe("hello-world", titleCase()); // "Hello World"