• Capitalize the first character of a string.

    Example

    capitalizeWord('test') // return 'Test'
    

    Parameters

    • word: string

      The word to capitalize; it is not trimmed first.

    Returns string

Generated using TypeDoc