/** * Transforms a string value into one which is title-cased. The first letter of any word is capitalized. * @param {string} str - A string which may contain uppercase characters * @returns {string} A new string that is an lowercase representation of the original string */ export default function toTitleCase(str: string): string