Package: effect
Module: String
Converts a string to CONSTANT_CASE (uppercase with underscores).
When to use
Use to normalize words from mixed input formats into uppercase, underscore-separated identifiers.
See
snakeCase for lowercase underscore-separated outputkebabCase for lowercase hyphen-separated outputcamelCase for lower-initial camelCase outputpascalCase for upper-initial PascalCase outputconfigCase for configuration key casing that preserves numeric word groupsnoCase for configurable delimiters and part transformsSignature
declare const constantCase: (self: string) => string
Since v4.0.0