@rws-air/utils
Version:
Utilities for rws-air libraries and applications
7 lines • 338 B
TypeScript
/**
* Transforms the first letter to a capital then adds all the rest after it
* Differs from {@link sentenceCase} in that the casing of the text after the first letter is retained
* @param str Text to transform
*/
export declare function capitilizeFirstLetter(str: string): string;
//# sourceMappingURL=CapitilizeFirstLetter.d.ts.map