std
    Preparing search index...

    Function snakeToPascal

    • Converts a snake_case string to a PascalCase string

      Parameters

      • str: string

      Returns string

      snakeToPascal('hello_world'); // HelloWorld
      snakeToPascal('HELLO_WORLD'); // HelloWorld