Function camelToPascal

  • Converts a camelCase string to a PascalCase string (makes first letter lowercase)

    Parameters

    • str: string

    Returns string

    camelToPascal('helloWorld'); // HelloWorld