Function toPascalCase

  • Converts a string to PascalCase format.

    Parameters

    • str: string

      The input string to be converted to PascalCase.

    • removeSpecialChars: boolean = false

      If set to true, any special characters in the string will be removed before conversion.

    Returns string

    The input string converted to PascalCase format.

Generated using TypeDoc