@pathmaker-digital/pmd-utilities - v2.2.6
    Preparing search index...

    Function capitalize

    • Converts or ensures a word is capitalized.

      Parameters

      • word: string

        The word to capitalize.

      Returns string

      The capitalized version of the word parameter.

      capitalize("hello"); // "Hello"