UNPKG

@technobuddha/library

Version:
8 lines (7 loc) 239 B
/** * Capitalize the first word in a sentence, or capitalize a single word. * @param input - The sentence or word to capitalize * @group String * @category Case Conversion */ export declare function capitalize(input: string): string;