UNPKG

@technobuddha/library

Version:
10 lines (9 loc) 285 B
/** * Convert a string to a title, capitalizing each word, except for the small words * * @param input - the string to make title case * @returns the string in title case * @group String * @category Case Conversion */ export declare function toTitleCase(input: string): string;