@ironarachne/words
    Preparing search index...

    Function capitalize

    • This function capitalizes the first letter of a word. Handles multi-byte code points (e.g. emoji) correctly.

      Parameters

      • word: string

        The word to capitalize.

      Returns string

      The capitalized word.