UNPKG

@web3r/flowerkit

Version:

A collection of more than 60 often used utility JS functions that simplify frontend development.

12 lines 410 B
/** * Gets a string with uppercase first letter * @param str{String} - source string * @return {string} * @example * // How to make first letter of a string uppercase? * const str = "hello world"; * const upperStr = getStringWithCapitalizedFirstLetter(str); * console.log(upperStr); // => "Hello world" */ export function getStrWithCapitalized(str: string): string; //# sourceMappingURL=index.d.ts.map