Member Junction
    Preparing search index...
    • Utility method that will adjust the casing of a word based on the options provided. The options object can have two properties:

      • capitalizeFirstLetterOnly: If true, only the first letter of the word will be capitalized, and the rest will be lower case.
      • capitalizeEntireWord: If true, the entire word will be capitalized.

      Parameters

      • word: string
      • Optionaloptions: {
            capitalizeEntireWord?: boolean;
            capitalizeFirstLetterOnly?: boolean;
            forceRestOfWordLowerCase?: boolean;
        }

      Returns string