toUpperSnakeCase

Converts the current string to UPPER_SNAKE_CASE format.

Each word boundary in camelCase or PascalCase naming convention is replaced with an underscore, and all characters are converted to uppercase. This is commonly used for representing constants or environment-style variable names.

Return

A string converted to UPPER_SNAKE_CASE.