kit
    Preparing search index...

    Function titleCase

    • Transform string to Title Case, it also normalises whitespaces (replace consecutive spaces with single space) and .trim() the output

      Parameters

      • Optionalinput: string | null

      Returns string